cannot save the svm model

10 views (last 30 days)
Golnoush Asaeikheybari
Golnoush Asaeikheybari on 6 Jun 2020
Commented: Asvin Kumar on 8 Jun 2020
I have imported the SVM classification model learned in classification app. I have tried both of the codes below to save it but I get error. What is the probelsm?
saveLearnerForCoder(trainedSVMModel.ClassificationSVM, 'modelSVM');
saveCompactModel(trainedSVMModel.ClassificationSVM)
Here is the error I get for both of them:
Reference to non-existent field 'ClassificationSVM'.
Error in ex (line 5)
saveLearnerForCoder(trainedSVMModel.ClassificationSVM, 'modelSVM')
  1 Comment
Asvin Kumar
Asvin Kumar on 8 Jun 2020
Please provide a way to recreate the error so anyone from the community can help.

Sign in to comment.

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox 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!