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

1 次查看(过去 30 天)
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);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by