Is it possible to save matlab classifier workspace?

조회 수: 3 (최근 30일)
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2020년 3월 9일
댓글: Ameer Hamza 2020년 10월 12일
I need to save matlab classifier workspace so that later I can do some processes without the need to run the models from the scratch. Is this possible?

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 3월 9일
편집: Ameer Hamza 2020년 3월 9일
You can use save function to save any MATLAB variable in a .mat file. For example,
load ionosphere
tc = fitctree(X,Y);
save('classification_model.mat', 'tc');
Then you can load the trained model using
load('classification_model.mat');
  댓글 수: 4
Amelia
Amelia 2020년 10월 11일
@ Ameer Hamza i have the same problem, i have trained some classifiers and save them in 7.3 format, but when i try to load them they donnot load. they have been load many times but after some time they didnot load any more!!
Ameer Hamza
Ameer Hamza 2020년 10월 12일
What happen when you try to load them? Is there any error? Try saving in v7 format.

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by