Kfold loss returns cost function of the trained classifier ?

1 回表示 (過去 30 日間)
Gorkem Akgul
Gorkem Akgul 2021 年 5 月 13 日
回答済み: Tejas 2025 年 7 月 8 日
Hi, I couldn't completely understand what kfoldloss() function return. Is it the result of cost( or loss) function of SVM estimated during the traing while using k-fold cross validation ?

回答 (1 件)

Tejas
Tejas 2025 年 7 月 8 日
Hello Gorkem,
The "kfoldLoss" function returns the loss averaged over all the folds. For more information on how this loss is computed for each fold, refer to this documentation: https://www.mathworks.com/help/stats/classreg.learning.partition.classificationpartitionedmodel.kfoldloss.html#mw_050b1f4b-1273-40e9-a36e-4197b357a945 .

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by