Cross validation in matlab
Show older comments
What are the steps to performing cross validation on labels of data to get the accuracy of the results?
Accepted Answer
More Answers (1)
Ilya
on 30 Jan 2013
0 votes
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.
1 Comment
Lester Lim
on 31 Jan 2013
Categories
Find more on Discriminant Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!