How to perform cross-validation using svmtrain polynomial function?

2 visualizaciones (últimos 30 días)
I am using SVM polynomial kernel(Statistics tool box) with order ranging from 3 to 9 (Say). When we perform cross validation with rbf function, we intend to determine sigma and C values. With the best sigma and cost factor value the trained network is tested on the test set. Do we determine cost function and sigma as well while performing cross-validation using SVM polynomial kernel? The commands that I intend to use are
structtr = svmtrain(z1,trainoutput,'Kernel_Function','Polynomial','Polyorder',i,'showplot',false);
grouparousallat = svmclassify(structtr,w1,'showplot',false);

Respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by