See the cross-validation options on the fitcsvm documentation page: https://www.mathworks.com/help/releases/R2020a/stats/fitcsvm.html#d120e287869
SVM Prediction Algorithm-Train
21 次查看(过去 30 天)
显示 更早的评论
hI,
I am creating a SVM to predict the class of a set of predictor variables. I have seen fitcsvm is the way to train the algorithm. Could you please indicate how to use only 30% of the whole dataset to train the algorithm?
Thanks in advance,
Regards
0 个评论
回答(1 个)
另请参阅
类别
在 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!