Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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);

Risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by