How can I find the optimize value of 'C' or ' Boxconstraint' for linear SVM ?

1 vue (au cours des 30 derniers jours)
sufian ahmed
sufian ahmed le 18 Août 2017
I work with linear svm. but it not gives better output as I required.But when I change BoxConstraint it gives good output. now i want to do something so that i can find optimize value for "Boxconstraint".
tem = templateSVM('kernelFunction','linear','Solver','SMO','BoxConstraint', 16);
classifier = fitcecoc(trainingFeatures,trainingLabels,'Learners',tem);

Réponses (0)

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by