cannot save the svm model

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 个评论

Please provide a way to recreate the error so anyone from the community can help.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by