Error while testing the data using classficationLearner tool

When I try to test the trained classificationLearner, I get the following error:
Error using subsref
No appropriate method, property, or field 'predictFcn' for class 'ClassificationSVM'.
Error in classreg.learning.internal.DisallowVectorOps/subsref (line 21)
[varargout{1:nargout}] = builtin('subsref',this,s);
Error in RSM_NNdata (line 2)
yfit = trainedClassifier_SVM.predictFcn(x);

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by