How to use score in predict function
Ältere Kommentare anzeigen
The predict function used in classification can have two outputs: label and score. Label is the class that the classifier predicts to be and score, from how I understand, is the confidence of each class. So the label is the class with the highest confidence.
But when I take a look at the score matrix, I find the label does have highest score, and a few others have a little less score, but all of the rest have zero score. How can this be possible? Surely all the other classes can't be equally as bad. Am I not understanding how this function works correctly?
I see this function here by the way:
https://au.mathworks.com/help/stats/compactclassificationensemble.predict.html#bvciha4
Antworten (1)
Sam Tong
am 26 Okt. 2016
0 Stimmen
Kategorien
Mehr zu Classification Trees finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!