Confusion Metrics Plottings Causing An Error

2 views (last 30 days)
Hi all,
I am uncertain of the way forward and require some direction to move onward with my metrics plans!
Challenge:
I am trying to plot the score and labels of the confusion metrics but unsure of the right procedures and values to use. I have been reading the documents and still i need a push to understanding what are the values that is required. I am confused please assist?
I have a data set which is splitted into MyTrain and MyTest
I tried the following but Matlab is constantly arguing and I am sure that I am the cause;
[PredlabelIdx, predscore] = predict(categoryClassifier,MyTest);
predlabs = categoryClassifier.Labels(labelIdx')
ConfusionM_Chart = confusionchart(PredlabelIdx,predscore)

Answers (0)

Community Treasure Hunt

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

Start Hunting!