Effacer les filtres
Effacer les filtres

How to classify using non-linear support vector machine

3 vues (au cours des 30 derniers jours)
B mohan
B mohan le 27 Mar 2012
By using svmtrain() function and svmclassify() I got the results for linear svm. But for non-linear support vector machine I cannot get the output.
How to classify using non-linear kernels like RBF, Quadratic and polynamial kernels. Please explain how to use parameters.
svmStruct = svmtrain(data(train,:),groups(train),'rbf', 1, 'showplot',true); Warning: You specified radial basis function parameters but not a radial basis function kernel.

Réponses (1)

Ilya
Ilya le 27 Mar 2012
svmStruct = svmtrain(data(train,:),groups(train),'kernel_function','rbf')

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by