Cross validation in matlab
显示 更早的评论
What are the steps to performing cross validation on labels of data to get the accuracy of the results?
采纳的回答
更多回答(1 个)
Ilya
2013-1-30
0 个投票
The Statistics Toolbox provides utilities for cross-validation. If you are using R2011a or later, take a look at ClassificationTree.fit, ClassificationDiscriminant.fit, ClassificationKNN.fit and fitensemble. Notice the 'crossval' parameter and other related parameters. If you are working in an older release or not using any of these classifiers, the crossval function is a generic utility for that purpose.
类别
在 帮助中心 和 File Exchange 中查找有关 Discriminant Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!