21c045090b4d6d5bbf8a8bbdb88dedb024a49b01,ParamSklearn/implementations/OneHotEncoder.py,OneHotEncoder,_fit_transform,#OneHotEncoder#Any#,182

Before Change


        if sparse.isspmatrix_csr(X):
            X.data += 1
            subtract = True
        X = check_arrays(X, sparse_format="csc", allow_nans=True)[0]
        if subtract:
            X.data -= 1

        n_samples, n_features = X.shape

After Change


        if sparse.isspmatrix_csr(X):
            X.data += 1
            subtract = True
        X = check_array(X, accept_sparse="csc", force_all_finite=False)
        if subtract:
            X.data -= 1

        n_samples, n_features = X.shape
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: automl/auto-sklearn
Commit Name: 21c045090b4d6d5bbf8a8bbdb88dedb024a49b01
Time: 2015-10-01
Author: feurerm@informatik.uni-freiburg.de
File Name: ParamSklearn/implementations/OneHotEncoder.py
Class Name: OneHotEncoder
Method Name: _fit_transform


Project Name: automl/auto-sklearn
Commit Name: 6bdd99e0aa67fef510659875f56f692a2ccbac50
Time: 2015-10-06
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/metalearning/metafeatures/metafeatures.py
Class Name:
Method Name: calculate_all_metafeatures


Project Name: automl/auto-sklearn
Commit Name: 21c045090b4d6d5bbf8a8bbdb88dedb024a49b01
Time: 2015-10-01
Author: feurerm@informatik.uni-freiburg.de
File Name: ParamSklearn/implementations/OneHotEncoder.py
Class Name: OneHotEncoder
Method Name: _transform