7d949ddda1c424773171a1db21f68eb8e6bb17cd,doc/examples/xx_applications/plot_haar_extraction_selection_classification.py,,,#,68
Before Change
// Once the feature are extracted, we can train and test the a new classifier.
clf.fit(X_train, y_train)
y_pred = clf.predict(X_test)
print(classification_report(y_test, y_pred) )
plt.show()
After Change
clf.fit(X_train, y_train)
time_subset_features = time() - t_start
auc_subset_features = roc_auc_score(y_test, clf.predict_proba(X_test)[:, 1] )
summary = ("Training on the full feature set took {:.3f}s and had an "
"AUC of {:.2f}. Training on the feature subset took {:.3f}s "
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: scikit-image/scikit-image
Commit Name: 7d949ddda1c424773171a1db21f68eb8e6bb17cd
Time: 2018-05-07
Author: juan.n@unimelb.edu.au
File Name: doc/examples/xx_applications/plot_haar_extraction_selection_classification.py
Class Name:
Method Name:
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 92bba3102bed7256aa22c0ab273139048aa23559
Time: 2016-10-01
Author: bilbro@gmail.com
File Name: yellowbrick/classifier.py
Class Name: ClassifierReport
Method Name: score
Project Name: scikit-learn/scikit-learn
Commit Name: a49752375d5775b1f0e6393a811c937332dccb18
Time: 2020-05-17
Author: jliu176@gmail.com
File Name: examples/compose/plot_column_transformer.py
Class Name:
Method Name: