svmtrain function is not working in my matlab 2016a.

조회 수: 4 (최근 30일)
Sajja Tulasi Krishna
Sajja Tulasi Krishna 2018년 4월 25일
답변: farid jafary 2020년 4월 23일
I want to run svmtrain function on 2016a version of matlab. what will do

채택된 답변

Steven Lord
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.
  댓글 수: 8
Sajja Tulasi Krishna
Sajja Tulasi Krishna 2018년 4월 26일
there is no y variable in this code
Sajja Tulasi Krishna
Sajja Tulasi Krishna 2018년 4월 26일
what is y in it i don't know please solve this error

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

farid jafary
farid jafary 2020년 4월 23일
Hi, does anyone have the MatLab PCA-LDA Code MATLAB code?

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by