scikitplot.metrics#
This package/module is designed to be compatible with both Python 2 and Python 3. The imports below ensure consistent behavior across different Python versions by enforcing Python 3-like behavior in Python 2.
The metrics
module includes plots for machine learning
evaluation metrics e.g. confusion matrix, silhouette scores, etc.
User guide. See the Metrics section for further details.
Model selection interface#
User guide. See the Metrics section for further details.
Plot calibration curves for a set of classifier probability estimates. |
Classification metrics#
User guide. See the Metrics section for further details.
Generates various evaluation plots for a classifier, including confusion matrix, precision-recall curve, and ROC curve. |
|
Generates a confusion matrix plot from predictions and true labels. |
|
Generates the ROC AUC curves from labels and predicted scores/probabilities. |
|
Generates the Precision-Recall AUC Curves from labels and predicted scores/probabilities. |
Clustering metrics#
User guide. See the Metrics section for further details.
Plots silhouette analysis of clusters provided. |