eddbc97df364b32a5710de92133761e0d33093ba,python-package/mlbox/model/supervised/classification/stacking_classifier.py,StackingClassifier,fit_transform,#StackingClassifier#,161
Before Change
end_time = time.time()
for i in range(0, y_pred.shape[1]-int(self.drop_first)):
preds["est"+str(c+1)+"_class"+str(i)+"_("+str(end_time-start_time) +"sec)"] = y_pred[:,i]
clf.fit(X.drop(indexes_to_drop), y.drop(indexes_to_drop)) // and we refit the base estimator on entire train set
After Change
layer = 1
while(len(np.intersect1d(X.columns, ["layer"+str(layer)+"_"+s for s in preds.columns]))>0):
layer = layer + 1
preds.columns = ["layer"+str(layer)+"_"+s for s in preds.columns]
self.__fittransformOK = True
if(self.copy==True):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: AxeldeRomblay/MLBox
Commit Name: eddbc97df364b32a5710de92133761e0d33093ba
Time: 2017-06-20
Author: axelderomblay@gmail.com
File Name: python-package/mlbox/model/supervised/classification/stacking_classifier.py
Class Name: StackingClassifier
Method Name: fit_transform
Project Name: nilearn/nilearn
Commit Name: 6a11cee6a59dbf1417dfc46fce2e76424eaa45a5
Time: 2017-12-20
Author: moritz.boos@uni-oldenburg.de
File Name: nilearn/plotting/tests/test_matrix_plotting.py
Class Name:
Method Name: test_matrix_plotting
Project Name: AxeldeRomblay/MLBox
Commit Name: 8768184ae39b420292acc25eda9ae43c3af0752d
Time: 2017-06-20
Author: axelderomblay@gmail.com
File Name: python-package/mlbox/model/supervised/regression/stacking_regressor.py
Class Name: StackingRegressor
Method Name: fit_transform