saveLearnerForCoder doesnt worok in Matlab 2019a. Whch function should I use for saving the machine learning model ?

1 visualizzazione (ultimi 30 giorni)
For example
: I tried to run following code , but it doesnt work in 2019a.
saveLearnerForCoder(trainedModel.ClassificationSVM,'ClassificationLearnerModel')
Can anyone suggest any other alternative ?
Regards,
Koustubh

Risposte (1)

Walter Roberson
Walter Roberson il 8 Giu 2020
Sorry, there was no support for generating code for the learners before R2019b.
In some cases such as SVM with some settings it was plausible to extract the parameters from the learner object and implement the calculations yourself, but nothing automatic, and some of the combinations of parameters were tricky to implement.

Community Treasure Hunt

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

Start Hunting!

Translated by