0cb2ddb81e2f3e261e8cc52a53f762e211d2dcf6,sklearn/impute/_iterative.py,IterativeImputer,fit_transform,#IterativeImputer#Any#Any#,527

Before Change


        self.imputation_sequence_ = []

        self._min_value = -np.inf if self.min_value is None else self.min_value
        self._max_value = np.inf if self.max_value is None else self.max_value

        self.initial_imputer_ = None
        super()._fit_indicator(X)
        X_indicator = super()._transform_indicator(X)

After Change



        self._min_value = IterativeImputer._validate_limit(
            self.min_value, "min", X.shape[1])
        self._max_value = IterativeImputer._validate_limit(
            self.max_value, "max", X.shape[1])

        if not np.all(np.greater(self._max_value, self._min_value)):
            raise ValueError(
                "One (or more) features have min_value >= max_value.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-learn/scikit-learn
Commit Name: 0cb2ddb81e2f3e261e8cc52a53f762e211d2dcf6
Time: 2020-02-20
Author: narendramukherjee@users.noreply.github.com
File Name: sklearn/impute/_iterative.py
Class Name: IterativeImputer
Method Name: fit_transform


Project Name: Kaixhin/Rainbow
Commit Name: fbc23881c651d69da1f7ba92bdab78009d33bf94
Time: 2020-08-20
Author: 32273096+Aladoro@users.noreply.github.com
File Name: memory.py
Class Name: SegmentTree
Method Name: _retrieve


Project Name: tensorflow/models
Commit Name: 5cee7220217599ceccb191adf430eb914d148f87
Time: 2020-09-17
Author: tanzheny@google.com
File Name: official/vision/keras_cv/ops/box_matcher.py
Class Name: BoxMatcher
Method Name: __call__