Kfold loss returns cost function of the trained classifier ?
1 次查看(过去 30 天)
显示 更早的评论
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 ?
0 个评论
回答(1 个)
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 .
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!