Effacer les filtres
Effacer les filtres

svmtrain function is not working in my matlab 2016a.

6 vues (au cours des 30 derniers jours)
Sajja Tulasi Krishna
Sajja Tulasi Krishna le 25 Avr 2018
I want to run svmtrain function on 2016a version of matlab. what will do

Réponse acceptée

Steven Lord
Steven Lord le 25 Avr 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 commentaires
Sajja Tulasi Krishna
Sajja Tulasi Krishna le 26 Avr 2018
there is no y variable in this code
Sajja Tulasi Krishna
Sajja Tulasi Krishna le 26 Avr 2018
what is y in it i don't know please solve this error

Connectez-vous pour commenter.

Plus de réponses (1)

farid jafary
farid jafary le 23 Avr 2020
Hi, does anyone have the MatLab PCA-LDA Code MATLAB code?

Catégories

En savoir plus sur MATLAB 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