SVM Prediction Algorithm-Train

22 vues (au cours des 30 derniers jours)
Mercedes Barrachina
Mercedes Barrachina le 17 Avr 2020
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

Réponses (1)

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

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by