function svmtrain not found

조회 수: 9 (최근 30일)
Mercedes Barrachina
Mercedes Barrachina 2020년 4월 17일
댓글: Ameer Hamza 2020년 4월 17일
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,

답변 (2개)

Ameer Hamza
Ameer Hamza 2020년 4월 17일
svmtrain was removed in R2019a. Now use fitcsvm(): https://www.mathworks.com/help/releases/R2019a/stats/fitcsvm.html

Mercedes Barrachina
Mercedes Barrachina 2020년 4월 17일
Thanks, very useful. And what about the function svmclassify?
Thanks again,
Regards,

카테고리

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