How to plot confusion matrix?

2 views (last 30 days)
Niculai Traian
Niculai Traian on 6 Oct 2018
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.

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!