MAINT change default value for min/max of IterativeImputer#16493
MAINT change default value for min/max of IterativeImputer#16493glemaitre merged 7 commits intoscikit-learn:masterfrom
Conversation
|
Dropping support for |
IterativeImputer is still experimental. In addition, |
|
@DarshanGowda0 You need to resolve the conflict |
|
IterativeImputer is still experimental. In addition, None was the default
and it was defaulting on either -inf or +inf which we are replacing it by.
I think that we should be fine with both combined reasons. WDYT?
+1
|
|
Yes, definitely, I missed that it was still experimental. |
|
I solved the conflicts. |
|
Please add an entry to the change log at doc/whats_new/v0.23.rst under the section |
| return super()._concatenate_indicator(Xt, X_indicator) | ||
|
|
||
| self._min_value = IterativeImputer._validate_limit( | ||
| self._min_value = self._validate_limit( |
There was a problem hiding this comment.
For reviewer: I made this change just for style because I find this weird.
Reference Issues/PRs
Fixes #16490
What does this implement/fix? Explain your changes.
Changed the default value of max and min to
np.infand-np.infrespectively.