SVM Prediction Algorithm-Train

1 回表示 (過去 30 日間)
Mercedes Barrachina
Mercedes Barrachina 2020 年 4 月 17 日
回答済み: Ameer Hamza 2020 年 4 月 17 日
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

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 4 月 17 日
See the cross-validation options on the fitcsvm documentation page: https://www.mathworks.com/help/releases/R2020a/stats/fitcsvm.html#d120e287869

カテゴリ

Help Center および File ExchangeStatistics 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