Is it possible to save and load trained classifiers as objects/files?

2 ビュー (過去 30 日間)
anupam das
anupam das 2015 年 4 月 22 日
回答済み: Ali Yar Khan 2020 年 1 月 29 日
Is there any way to save and load trained classifiers, say for example, I train a Decision Tree with large amount of data and now I want to save the classifier for later use. In other words, I want to load the saved classifier for evaluation at a later point of time. I don't want to retrain the classifier from scratch each time I need to use it.

回答 (1 件)

Ali Yar Khan
Ali Yar Khan 2020 年 1 月 29 日
You can save and load the network by just save and load command as follows :
save net;
And to load it :
load net;
it will save and load from current directory unless you specified another location.

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by