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 CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by