All of our learning algorithms inherit from the GSupervisedLearner class. (See http://waffles.sourceforge.net/apidoc/html/class_g_classes_1_1_g_supervised_l
earner.html) They all implement the "serialize" method, which
will marshall the trained model into a DOM. You can save the DOM to a file.
You can then load the DOM from a file, and use the GLearnerLoader class to
deserialize it back to the trained model.
There are also some command-line examples in our documentation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi every one
how can save a model ofter learn and then when you want predict class of
instance with model not need to learn again!!
please help me,thanks
All of our learning algorithms inherit from the GSupervisedLearner class. (See
http://waffles.sourceforge.net/apidoc/html/class_g_classes_1_1_g_supervised_l
earner.html) They all implement the "serialize" method, which
will marshall the trained model into a DOM. You can save the DOM to a file.
You can then load the DOM from a file, and use the GLearnerLoader class to
deserialize it back to the trained model.
There are also some command-line examples in our documentation.