MATLAB Answers


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


Log in to comment.

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:

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


Log in to comment.

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!