MATLAB Answers

nadia naji

accuracy of svm model on test data?

Asked by nadia naji
on 4 Mar 2013

hi i used svmtrain function to train a model now i want to check the accuracy of model on test data how can i do this with 10-fold cross validation?i cant understand crossval function how it work? for example if training svm model is A and i have X test data?



No tags are associated with this question.


No products are associated with this question.

1 Answer

Answer by Shashank Prasanna
on 4 Mar 2013

Maybe what you are looking for is right here:

There are examples as well. See if that works for you.


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!