Outputs of classifiers and how to measure confidence?

2 ビュー (過去 30 日間)
Jack Latham
Jack Latham 2017 年 12 月 19 日
コメント済み: Jack Latham 2017 年 12 月 20 日
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
  2 件のコメント
Jack Latham
Jack Latham 2017 年 12 月 20 日
Attached, should make it clearer

サインインしてコメントする。

回答 (1 件)

Bernhard Suhm
Bernhard Suhm 2017 年 12 月 20 日
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

カテゴリ

Help Center および File ExchangeClassification Ensembles についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by