function svmtrain not found
Afficher commentaires plus anciens
Hi,
I am trying to use the svtrain function and I am getting the following error: "Unrecognized function or variable". I have checked and I am the Add-On Statistics and Machine Learning Toolbox (version 11.6) and R2019b.
Any idea?
Thanks,
Regards,
Réponses (2)
Ameer Hamza
le 17 Avr 2020
1 vote
svmtrain was removed in R2019a. Now use fitcsvm(): https://www.mathworks.com/help/releases/R2019a/stats/fitcsvm.html
Mercedes Barrachina
le 17 Avr 2020
0 votes
1 commentaire
Ameer Hamza
le 17 Avr 2020
That is replaced with predict() functionhttps://www.mathworks.com/help/releases/R2019a/stats/classreg.learning.classif.compactclassificationsvm.predict.html
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!