Classification Methods - BKJackson/BKJackson_Wiki GitHub Wiki

Classification Validation

ROC Curves

How and When to Use ROC Curves and Precision-Recall Curves for Classification in Python
Receiver Operating Characteristic Curves Demystified (in Python) - Good code examples
Receiver Operating Characteristic (ROC) with cross validation

Confusion Matrices

Classification with more than two classes

Sample Confusion Matrix code (T. Wiecki)

With sklearn and seaborn.

y_true, y_pred = y_test, clf.predict(X_test)
ax = sns.heatmap(confusion_matrix(y_true, y_pred))
ax.set(xlabel='true label', ylabel='predicted label');  

Probability Calibration

Classification Probability Calibration with Sklearn