svmtrain function is not working in my matlab 2016a.
7 次查看(过去 30 天)
显示 更早的评论
I want to run svmtrain function on 2016a version of matlab. what will do
0 个评论
采纳的回答
Steven Lord
2018-4-25
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.
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!