confusion
(To be removed) Classification confusion matrix
confusion will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Description
Tip
To plot a confusion chart for a deep learning workflow, use the
confusionchart function.
[
takes target and output matrices, c,cm,ind,per] = confusion(targets,outputs)targets and
outputs, and returns the confusion value,
c, the confusion matrix, cm, a cell
array, ind, that contains the sample indices of class
i targets classified as class j, and
a matrix of percentages, per, where each row summarizes four
percentages associated with the i-th class.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2006aSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork