Saving models from classification learner App

조회 수: 1 (최근 30일)
Georgios Etsias
Georgios Etsias 2019년 3월 19일
답변: Stephan 2019년 3월 19일
I use Matlab Classification Learner to train various different models on an experimental dataset. The models are successfully exported from the app to the workspace and I am able to use them to make predictions for new datasets. The problem arises when I try to save the models. Some of them need around 2 minutes to get saved while others cannot be saved at all. I do not receive any error, the computer appears to be busy, the new file is created but is only 1KB in size. When I check the 'saved' model it appears that the model was not saved properly and cannot be used.
Did anyone have a similar experience to mine.
PS1: The models I managed to save are large, ranging from 672MB to 1.7GB. The ones I cannot are probably bigger.
PS2: Thank you in advance for any answers.

채택된 답변

Stephan
Stephan 2019년 3월 19일
Hi,
you could consider to export a compact model without the training data - this will also work for making predictions on new data:
model_export.PNG
This should help to decrease the file size.
Best regards
Stephan

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification Learner App에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by