Description
I recently added plot_cumulative_gain and plot_lift_curve methods to https://github.com/reiinakano/scikit-plot. To do this, I built an adhoc version of cumulative_gain_curve closely following the sklearn.metrics.roc_curve interface at https://github.com/reiinakano/scikit-plot/blob/master/scikitplot/helpers.py#L157. Let me know if sklearn.metrics.cumulative_gain_curve is something you'd be interested in adding into scikit-learn. I could add example docs for plotting gain and lift curves as well.
Reference I followed for lift and gain: https://www.ibm.com/support/knowledgecenter/en/SSLVMB_23.0.0/spss/tutorials/mlp_bankloan_outputtype_02.html


Description
I recently added
plot_cumulative_gainandplot_lift_curvemethods to https://github.com/reiinakano/scikit-plot. To do this, I built an adhoc version ofcumulative_gain_curveclosely following thesklearn.metrics.roc_curveinterface at https://github.com/reiinakano/scikit-plot/blob/master/scikitplot/helpers.py#L157. Let me know ifsklearn.metrics.cumulative_gain_curveis something you'd be interested in adding into scikit-learn. I could add example docs for plotting gain and lift curves as well.Reference I followed for lift and gain: https://www.ibm.com/support/knowledgecenter/en/SSLVMB_23.0.0/spss/tutorials/mlp_bankloan_outputtype_02.html