How to do k-fold cross validation in matlab?
123 次查看(过去 30 天)
显示 更早的评论
I am working on my face recognition project.i need to do k-fold cross validation to check my classifier accuracy.Can anybody please tell me how i can do K-fold cross validation for my data of images?
4 个评论
wayne asera
2017-12-16
What Matlab version are you using? There is a classification learner app that can help you. It is a straight forward.
Munshida P
2019-12-25
Hii....Iam also doing the same one now. Can you please provide your code if it is available?
回答(1 个)
Matthew Eicholtz
2017-5-9
I think the function crossvalind may help. Check out the example of 10-fold cross validation provided at that link.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Pattern Recognition and Classification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!