sanity / quickml

A fast and easy to use decision tree learner in java
http://quickml.org/
GNU Lesser General Public License v3.0
232 stars 52 forks source link

Load RandomForest from file #134

Closed daiasolutions closed 9 years ago

daiasolutions commented 9 years ago

Is it possible to load a RandomForest model previously saved with RandomForestDumper?
Thx

sanity commented 9 years ago

RandomForestDumper is intended to output a RandomForest in a human-readable form, not to store it.

Instead, you should use Java serialization (eg. ObjectOutputStream) to write and read a RandomForest to/from a file.