Error while testing the data using classficationLearner tool

3 views (last 30 days)
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);

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!