How to plot confusion matrix?

2 次查看(过去 30 天)
Niculai Traian
Niculai Traian 2018-10-6
Hello, i want to plot a confusion matrix, but i don't know witch are the true labels target and witch are predicted labels outputs.
plotconfusion(targets,outputs) plots a confusion matrix for the true labels targets and predicted labels outputs. Specify the labels as categorical vectors, or in one-of-N (one-hot) form.
Please help.

回答(0 个)

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by