How do I export a machine learning model to use later on my own computer or someone else's?
7 views (last 30 days)
Show older comments
The documentation seems to assume use of some kind of classification learner app http://www.mathworks.com/help/stats/export-classification-model-for-use-with-new-data.html, but I just made calls like "linearmdl = fitlm(X,y)" in my code (using the machine learning toolbox).
I want to be able to make new predictions without having to retrain my model each time, and I also want to share my model with my friend. Thanks!
Edit. I just read this, "You can save the resulting CompactTreeBagger model in a *.mat file," when I was going through http://www.mathworks.com/help/stats/ensemble-methods.html?refresh=true#zmw57dd0e58447.
So to clarify my question, how do I actual save the resulting model? It looks like I don't need anything fancy like the Matlab compiler.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!