scikitplot.deciles#

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 deciles module includes plots for machine learning evaluation decile analysis e.g. Gain, Lift and Decile charts, etc.

References

[1] tensorbored/kds

User guide. See the Deciles section for further details.

plot_cumulative_gain

Generates the Cumulative Gains Plot from labels and scores/probabilities.

plot_lift

Generate a Lift Curve from true labels and predicted probabilities.

plot_ks_statistic

Generates the KS Statistic plot from labels and scores/probabilities.