Saving the regression trained model

14 ビュー (過去 30 日間)
Nethravathi S
Nethravathi S 2021 年 9 月 2 日
コメント済み: Wan Ji 2021 年 9 月 2 日
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?


Wan Ji
Wan Ji 2021 年 9 月 2 日
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
Then all is ok
  2 件のコメント
Wan Ji
Wan Ji 2021 年 9 月 2 日
My pleasure :)


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by