フィルターのクリア

How is Validation and Test cost calculated in Classification Learner app?

11 ビュー (過去 30 日間)
SATISH SONWANE
SATISH SONWANE 2023 年 8 月 28 日
コメント済み: Shreeya 2023 年 8 月 29 日
I used SVM for classification with LBP features as input. I used 20 percent data for testing in classification learner app with 10-fold Corss-validation. In the summary tab of output it calculates Total Validation and Total Test cost. How does it calculate these numbers?

採用された回答

Shreeya
Shreeya 2023 年 8 月 28 日
Hi Satish
The validation and testing cost refer to the total number of misclassifications. By default, the app assigns a penalty of 0 if the observation is classified correctly and a penalty of 1 if the observation is classified incorrectly. The penalties can also be changed according to model requirements. You can read more about it in the documentation below.
Hope this helps!
  2 件のコメント
SATISH SONWANE
SATISH SONWANE 2023 年 8 月 28 日
編集済み: SATISH SONWANE 2023 年 8 月 28 日
So the cost must be proportional to the accuracy. Like better the accuracy lower the cost. is it?
Shreeya
Shreeya 2023 年 8 月 29 日
Yes, the cost is inversely proportional to the accuracy.

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by