6251434bd1d71c960b1ac340f4645d9e8439ca86,autosklearn/pipeline/components/feature_preprocessing/fast_ica.py,FastICA,fit,#FastICA#Any#Any#,22

Before Change


            try:
                self.preprocessor.fit(X)
            except ValueError as e:
                if "array must not contain infs or NaNs" in e.args[0]:
                    raise ValueError("Bug in scikit-learn: https://github.com/scikit-learn/scikit-learn/pull/2738")

        return self

After Change


        return self

    def fit(self, X, y):
        self._fit(X)
        return self

    def fit_transform(self, X, y=None):
        return self._fit(X)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: automl/auto-sklearn
Commit Name: 6251434bd1d71c960b1ac340f4645d9e8439ca86
Time: 2017-11-21
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/pipeline/components/feature_preprocessing/fast_ica.py
Class Name: FastICA
Method Name: fit


Project Name: rasbt/mlxtend
Commit Name: 62fc64ead3faa5a783d2c7e0836ebaf06c1d7374
Time: 2016-06-26
Author: mail@sebastianraschka.com
File Name: mlxtend/feature_extraction/rbf_kernel_pca.py
Class Name: RBFKernelPCA
Method Name: fit


Project Name: tgsmith61591/pmdarima
Commit Name: 7b5306a5d69cbf68a15de0a2ad1f52327936d3e1
Time: 2019-03-26
Author: tgsmith61591@gmail.com
File Name: pmdarima/arima/arima.py
Class Name: ARIMA
Method Name: fit