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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!