c7303148fee708935d774139fab68fb38b43f58a,mlxtend/classifier/stacking_cv_classification.py,StackingCVClassifier,fit,#StackingCVClassifier#,92
Before Change
((num+1), self.n_folds))
if not self.use_probas:
prediction = model.fit(X[train_index], y[train_index])\
.predict(X[test_index])
prediction = prediction.reshape(prediction.shape[0], 1)
else:
prediction = model.fit(X[train_index], y[train_index]).\
predict_proba(X[test_index])
single_model_prediction = np.vstack([single_model_prediction.
astype(prediction.dtype),
prediction])
all_model_predictions = np.hstack((all_model_predictions.
astype(single_model_prediction.
dtype),
single_model_prediction))
After Change
prediction = model.fit(X[train_index], y[train_index])
if not self.use_probas:
prediction = prediction.predict(X[test_index])
prediction = prediction.reshape(prediction.shape[0], 1)
else:
prediction = prediction.predict_proba(X[test_index])
single_model_prediction = np.vstack([single_model_prediction.
astype(prediction.dtype),
prediction])
all_model_predictions = np.hstack((all_model_predictions.
astype(single_model_prediction.
dtype),
single_model_prediction))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: rasbt/mlxtend
Commit Name: c7303148fee708935d774139fab68fb38b43f58a
Time: 2016-09-21
Author: reii_nakano@yahoo.com
File Name: mlxtend/classifier/stacking_cv_classification.py
Class Name: StackingCVClassifier
Method Name: fit
Project Name: yzhao062/pyod
Commit Name: 88af0cf1d7de7349c06b1f52bf3bb34c053a60cc
Time: 2020-08-31
Author: zhaoy@cmu.edu
File Name: pyod/models/mo_gaal.py
Class Name: MO_GAAL
Method Name: fit
Project Name: neurosynth/neurosynth
Commit Name: 48987eeb9e0046a2188fe013f109a0a8c6a32d50
Time: 2016-01-05
Author: delavega@colorado.edu
File Name: neurosynth/analysis/classify.py
Class Name:
Method Name: get_score
Project Name: rasbt/mlxtend
Commit Name: d1779c33e984351e085406ac1f5896d9f825cda3
Time: 2020-09-03
Author: apremgeorge@gmail.com
File Name: mlxtend/evaluate/bias_variance_decomp.py
Class Name:
Method Name: bias_variance_decomp