Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

accuracy of svm model on test data?

Asked by nadia naji

nadia naji (view profile)

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?

0 Comments

nadia naji

nadia naji (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Shashank Prasanna

Shashank Prasanna (view profile)

on 4 Mar 2013

Maybe what you are looking for is right here:

http://www.mathworks.com/help/bioinfo/ug/support-vector-machines-svm.html#bs3tbev-16

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

0 Comments

Shashank Prasanna

Shashank Prasanna (view profile)

Contact us