Skip to content

Function: addLiftCurve()

ts
function addLiftCurve(plot, opts): LiftCurveHandle;

Defined in: ml/charts.ts:702

Cumulative gain (or lift) against the fraction of the population targeted, with the random baseline for reference — how a churn or marketing model is actually judged: "contact the top 20%, capture what share of the positives?"

Parameters

ParameterType
plotPlot
optsLiftCurveOptions

Returns

LiftCurveHandle

MIT licensed. WebGL2 required.