Outputs of classifiers and how to measure confidence?
8 views (last 30 days)
Show older comments
Hi, so I'm using the classification learner to train various models. I've found that the trained models can output (as well the predictions yfit) 2 other variables; I can't find any info regarding these in the documentation - can anyone shed any light? the first appears to weights, where the largest value corresponds to the predicted label. I've attached a mat file containing an example of these outputs, as well as the corresponding correct labels.
I would like to be able to calculate the confidence of a prediction - can anyone suggest a means of doing this?
Many thanks
Answers (1)
Bernhard Suhm
on 20 Dec 2017
You could try using the predint or confint functions, see also https://www.mathworks.com/matlabcentral/answers/266432-how-to-plot-prediction-and-confidence-interval
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!