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#
The mathematical formulation is the following:
Trained model of LogisticRegression
and
RandomForestClassifier
. For an example of
performing image:
Examples
plot_cumulative_gain with examples: Example usage of
LogisticRegression
using the iris datasetplot_cumulative_gain with examples: Example usage of
RandomForestClassifier
using the iris dataset
References#
cumulative_gain
plot lift#
Note
Lift Curve
Trained model of LogisticRegression
and
RandomForestClassifier
. For an example of
performing image:
Examples
plot_lift with examples: Example usage of
LogisticRegression
using the iris datasetplot_lift with examples: Example usage of
RandomForestClassifier
using the iris dataset
References#
lift_curve
plot_ks_statistic#
Trained model of LogisticRegression
and
RandomForestClassifier
. For an example of
performing image:
Examples
plot_ks_statistic with examples: Example usage of
LogisticRegression
using the iris datasetplot_ks_statistic with examples: Example usage of
RandomForestClassifier
using the iris dataset
References#
ks_statistic
report#
Trained model of LogisticRegression
and
RandomForestClassifier
. For an example of
performing image:
Examples
report
References#
report