perfCv

Cross-validation accuracy of given dataset and classifier

Contents

Syntax

Description

vRr=perfCv(DS, opt) returns the cross-validation recognition rate based on the given options.

vRr=perfCv(DS, opt, 1) also plots the dataset and misclasified instances (if the dimension is 2).

[vRrOverall, tRrOverall, vRr, tRr, computedClass]=perfCv(...) returns more info about cross-validation:

Example

DS=prData('iris');
opt=perfCv('defaultOpt');
vRr=perfCv(DS, opt, 1);

See Also

perfCv4classifier, perfLoo.


Top page   Next: perfByField.m   Prev:perfCv4classifier.m