I am going to classify multispectral remote sensing image using SVM .

I have written a code for classifying three crops using SVM training , The three crops are cotton ,wheat and gram. Now to get more accuracy I want to optimize the training data using genetic algorithm then I wish to train the optimized data using SVM train and then want the classification result . First want to compare the result with simple SVM algorithm , I am attaching the codes here please help me to correct that code so that i could get the better kappa coefficient .ore if u suggest some other parameters of comparison of two techniques . One more thing is please suggest me how to use kernels in SVMtrain instruction ..!

2 commentaires

generating error on kappa time i am using matlab 14. please help me out!
find kappa function is not available can you please update!

Connectez-vous pour commenter.

 Réponse acceptée

The following section in the documentation shows how you can use cross validation to tune your svm parameters using optimization:
Go through the examples and how-to's in this link, that should answer most of your questions:

1 commentaire

Thank u sir , will u please explain me how can I use this in my program ?? and can validation help me to calculate accuracy of the classifier ?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by