f5057bcbdb70e34341a6c0ec25a8fbcccc8a2703,mlxtend/classifier/ensemble_vote.py,EnsembleVoteClassifier,fit,#EnsembleVoteClassifier#,109
Before Change
if self.verbose > 1:
print(_name_estimators((clf,))[0][1])
clf.fit(X, self.le_.transform(y))
return self
def predict(self, X):
Predict class labels for X.
After Change
if self.verbose > 1:
print(_name_estimators((clf,))[0][1])
if sample_weight is None:
clf.fit(X, self.le_.transform(y))
else:
clf.fit(X, self.le_.transform(y),
sample_weight=sample_weight)
return self
def predict(self, X):
Predict class labels for X.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: rasbt/mlxtend
Commit Name: f5057bcbdb70e34341a6c0ec25a8fbcccc8a2703
Time: 2018-09-23
Author: kmori05@gmail.com
File Name: mlxtend/classifier/ensemble_vote.py
Class Name: EnsembleVoteClassifier
Method Name: fit
Project Name: rasbt/mlxtend
Commit Name: 4d09f8fd2b7db876f34f208f7fc8131e0a91ccb0
Time: 2018-09-23
Author: kmori05@gmail.com
File Name: mlxtend/classifier/stacking_classification.py
Class Name: StackingClassifier
Method Name: fit
Project Name: rasbt/mlxtend
Commit Name: b46079a21209220f92ee274f4498e120e9a1b762
Time: 2018-09-23
Author: kmori05@gmail.com
File Name: mlxtend/regressor/stacking_regression.py
Class Name: StackingRegressor
Method Name: fit