MATLAB: Which classification is best

Statistics and Machine Learning Toolboxsvm

I am working on Classification for set of data I have 52×10 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

Best 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: