Outputs of classifiers and how to measure confidence?

2 vues (au cours des 30 derniers jours)
Jack Latham
Jack Latham le 19 Déc 2017
Commenté : Jack Latham le 20 Déc 2017
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

Réponses (1)

Bernhard Suhm
Bernhard Suhm le 20 Déc 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

Community Treasure Hunt

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

Start Hunting!

Translated by