Is it possible to save matlab classifier workspace?
1 回表示 (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
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
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
2020 年 10 月 12 日
What happen when you try to load them? Is there any error? Try saving in v7 format.
参考
カテゴリ
Help Center および File Exchange で Classification Learner App についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!