Skip to content

Interface: LiftCurve

Defined in: ml/metrics.ts:366

Cumulative gain / lift as a function of the fraction of the population targeted.

Properties

fraction

ts
fraction: Float64Array;

Defined in: ml/metrics.ts:368

Fraction of the population contacted, 0..1.


gain

ts
gain: Float64Array;

Defined in: ml/metrics.ts:370

Fraction of all positives captured by then, 0..1 (the gain curve).


lift

ts
lift: Float64Array;

Defined in: ml/metrics.ts:372

gain ÷ fraction — how many times better than random.


positives

ts
positives: number;

Defined in: ml/metrics.ts:374

Positives in the data.

MIT licensed. WebGL2 required.