Saving the regression trained model
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nethravathi S
el 2 de Sept. de 2021
Comentada: Wan Ji
el 2 de Sept. de 2021
Hello,
I am using regression app for forecasting.
After training I am exporting the trained model for actual prediction.
But, when I am closing matlab and reopening later, the model trained is gone.
How to save the regression model trained, so that I can use it any time later?
0 comentarios
Respuesta aceptada
Wan Ji
el 2 de Sept. de 2021
You should save the trained model after click the 'export' the model to workspace. (you can see you saved model in workspace)
save trainedModel trainedModel
Then you can see a file named 'trainedModel.mat' in your current folder.
if you want to reuse your trained model, just use
load('trainedModel.mat');
Then all is ok
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!