Skip to content

Function: liftCurve()

ts
function liftCurve(scores, labels): LiftCurve;

Defined in: ml/metrics.ts:382

Sort by descending score and walk down the list: the standard "if I contact the top X%, what share of the buyers do I get?" curve that marketing and churn models are judged on.

Parameters

ParameterType
scoresArrayLike<number>
labelsArrayLike<number>

Returns

LiftCurve

MIT licensed. WebGL2 required.