Skip to content

Interface: RocCurve

Defined in: ml/metrics.ts:53

A receiver-operating-characteristic curve and its area.

Properties

auc

ts
auc: number;

Defined in: ml/metrics.ts:61

Area under the curve (NaN when a class is absent).


fpr

ts
fpr: Float64Array;

Defined in: ml/metrics.ts:55

False-positive rate (x), starting at 0.


thresholds

ts
thresholds: Float64Array;

Defined in: ml/metrics.ts:59

Score threshold at each vertex (+Inf for the origin).


tpr

ts
tpr: Float64Array;

Defined in: ml/metrics.ts:57

True-positive rate (y), starting at 0.

MIT licensed. WebGL2 required.