KeyToDataScience#

This module contains functions related to kds.

See also

kds Plots#

  • Let’s introduce the Gains, Lift and (cumulative) Response plots.

plot cumulative gain#

plot_cumulative_gain

The mathematical formulation is the following:

\[\hat{K}\]

Trained model of LogisticRegression and RandomForestClassifier. For an example of performing image:

Examples

References#
  • cumulative_gain

plot lift#

plot_lift

Note

Lift Curve

Trained model of LogisticRegression and RandomForestClassifier. For an example of performing image:

Examples

References#
  • lift_curve

plot_ks_statistic#

plot_ks_statistic

Trained model of LogisticRegression and RandomForestClassifier. For an example of performing image:

Examples

References#
  • ks_statistic

report#

report

Trained model of LogisticRegression and RandomForestClassifier. For an example of performing image:

Examples

  • report

References#
  • report