8fed8eef4dec0db753d3452be4afb30748a71086,mlxtend/regressor/stacking_cv_regression.py,StackingCVRegressor,predict,#StackingCVRegressor#Any#,186

Before Change


        // the meta-model from that info.
        //

        if not hasattr(self, "regr_"):
            raise NotFittedError("Estimator not fitted, "
                                 "call `fit` before exploiting the model.")

        meta_features = np.column_stack([
            regr.predict(X) for regr in self.regr_
        ])

After Change


        // the meta-model from that info.
        //

        check_is_fitted(self, "regr_")

        meta_features = np.column_stack([
            regr.predict(X) for regr in self.regr_
        ])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: rasbt/mlxtend
Commit Name: 8fed8eef4dec0db753d3452be4afb30748a71086
Time: 2018-03-23
Author: mail@sebastianraschka.com
File Name: mlxtend/regressor/stacking_cv_regression.py
Class Name: StackingCVRegressor
Method Name: predict


Project Name: rasbt/mlxtend
Commit Name: 8fed8eef4dec0db753d3452be4afb30748a71086
Time: 2018-03-23
Author: mail@sebastianraschka.com
File Name: mlxtend/regressor/stacking_regression.py
Class Name: StackingRegressor
Method Name: predict_meta_features


Project Name: rasbt/mlxtend
Commit Name: 8fed8eef4dec0db753d3452be4afb30748a71086
Time: 2018-03-23
Author: mail@sebastianraschka.com
File Name: mlxtend/regressor/stacking_cv_regression.py
Class Name: StackingCVRegressor
Method Name: predict_meta_features