Interface: ConfusionMatrixOptions
Defined in: ml/charts.ts:28
Properties
annotate?
ts
optional annotate?: boolean;Defined in: ml/charts.ts:37
Draw the value inside each cell. Default true.
classes?
ts
optional classes?: number;Defined in: ml/charts.ts:32
Number of classes; inferred from the labels when omitted.
colormap?
ts
optional colormap?: ColormapSpec;Defined in: ml/charts.ts:33
normalize?
ts
optional normalize?: boolean;Defined in: ml/charts.ts:35
Shade by row-normalized recall instead of raw counts. Default false.
yPred
ts
yPred: ArrayLike<number>;Defined in: ml/charts.ts:30
yTrue
ts
yTrue: ArrayLike<number>;Defined in: ml/charts.ts:29