Function: addConfusionMatrix()
ts
function addConfusionMatrix(plot, opts): ConfusionMatrixHandle;Defined in: ml/charts.ts:46
Confusion matrix as a heatmap with the true class 0 at the top (sklearn orientation) and per-cell value labels. Give the Plot [0,classes] axes; set categorical ticks for class names.
Parameters
| Parameter | Type |
|---|---|
plot | Plot |
opts | ConfusionMatrixOptions |