FUNCTION REFERENCE

plotconfusion

Plot classification counts, percentages, precision, recall and accuracy.

Plot classification counts, percentages, precision, recall and accuracy.

Syntax

h = plotconfusion(targets,outputs)

Syntax

h = plotconfusion(t1,y1,name1,t2,y2,name2,...)

Creates a new figure with output rows, target columns, green diagonal and red off-diagonal cells. Categorical vectors include unused categories. Named datasets occupy separate subplots.

Example

h = plotconfusion([0 1 1],[.1 .9 .2]);

Differences from MATLAB: the 256-text-per-axes graphics limit bounds class count; undefined categorical labels and cell input sequences are unsupported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.