svmtrain function is not working in my matlab 2016a.
7 views (last 30 days)
Show older comments
Sajja Tulasi Krishna
on 25 Apr 2018
Answered: farid jafary
on 23 Apr 2020
I want to run svmtrain function on 2016a version of matlab. what will do
0 Comments
Accepted Answer
Steven Lord
on 25 Apr 2018
Do you have Statistics and Machine Learning Toolbox installed? You can check this using the ver function. Since svmtrain is part of this toolbox, you must have that toolbox installed in order to use this function.
But if you have Statistics and Machine Learning Toolbox included in your installation, you might want to use the newer functions / classes introduced in release R2014a like fitcsvm, ClassificationSVM, and CompactClassificationSVM. This will be especially important if you want your code to work in release R2018a and later, as the Release Notes to which I linked indicate that svmtrain will error starting in release R2018a.
8 Comments
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!