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

Which classification is best

Asked by nkumar on 14 Jul 2013

I am working on Classification for set of data I have 52x10 values

When i used SVM FOR classification it classifies wrongly ,whereas knn gives accurate result,

my data consists of 2 groups

but i want to use SVM,only

please tell how to get exact classification using SVM

0 Comments

nkumar

Tags

1 Answer

Answer by Shashank Prasanna on 17 Jul 2013
Accepted answer

Your mileage will vary based on the SVM options and the data itself. Exact results may not always mean accurate since you don't want to be over fitting.

You can start by playing around with different options such as choosing a different kernel among other parameters:

http://www.mathworks.com/help/stats/svmtrain.html#namevaluepairarguments

Also here are the different properties of different classifiers you may be interested in:

http://www.mathworks.com/help/stats/supervised-learning-machine-learning-workflow-and-algorithms.html#bswluh9

0 Comments

Shashank Prasanna

Contact us