scikitplot.decile#

Visualizing predictive model insights for enhanced business decision-making.

The decile module to build nice plots to explain your modelling efforts easily to business colleagues.

User guide. See the Decile-Wise Performance section for further details.

Key To DataScience: kds#

Quick report for business analysis. Just input “labels”, “probabilities” to get report.

The kds KeyToDataScience module to Plot Decile Table, Lift, Gain and KS Statistic charts with single line functions

kds is the result of a data scientist’s humble effort to provide an easy way of visualizing metrics. So that one can focus on the analysis rather than hassling with copy/paste of various visialization functions.

User guide. See the KeyToDataScience section for further details.

kds.print_labels

Display a legend for the abbreviations of decile table column names.

kds.decile_table

Generate the Decile Table from labels and probabilities.

kds.plot_cumulative_gain

Generate the Decile-wise Lift Plot from labels and probabilities.

kds.plot_lift

Generate the Decile based cumulative Lift Plot from labels and probabilities.

kds.plot_lift_decile_wise

Generate the Decile-wise Lift Plot from labels and probabilities.

kds.plot_ks_statistic

Generate the KS Statistic Plot from labels and probabilities.

kds.report

Generate a decile table and four plots.

ModelPlotPy Initializer object#

The decile and (⚠️ alternative legacy scikitplot.decile.modelplotpy) module.

Includes plots for machine learning evaluation decile / ntile analysis (e.g., Response, Lift, Gain and related financial charts).

References

User guide. See the modelplotpy and modelplotpy financial sections for further details.

ModelPlotPy

Decile/ntile analysis for sklearn classifiers.

(Cumulative) Gains, Lift and Response Plots#

User guide. See the modelplotpy section for further details.

plot_response

Plot response curve.

plot_cumresponse

Plot cumulative response curve.

plot_cumlift

Plot cumulative lift curve.

plot_cumgains

Plot cumulative gains curve.

plot_all

Plot response, cumulative response, cumulative lift, and cumulative gains as a 2x2 panel.

Business-savvy Financial Insight Plots#

User guide. See the modelplotpy financial section for further details.

plot_costsrevs

Plot costs and revenues curves.

plot_profit

Plot profit curve.

plot_roi

Plot ROI (return on investment) curve.