Docs on JSON format: http://json.org
Docs on my implementation of JSON format: http://waffles.sourceforge.net/docs/serialization.html
There are no docs about how decision trees (or my other models) are encoded in JSON format (because I keep changing it, and the code is pretty simple anyway), but here is how you could reverse-engineer it:
1- waffles_learn train somedata.arff randomforest > model.json
2- waffles_transform prettify model.json > human_readable.json
3- examine human_readable.json. If there are any parts that are unclear, examine GRandomForest::serialize in src/GClasses/GDecisionTree.cpp.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-06-04
Thanks. I will look at your references.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there documentation for JSON format random forest output by waffles?
Thanks,
Ganesh
Docs on JSON format: http://json.org
Docs on my implementation of JSON format: http://waffles.sourceforge.net/docs/serialization.html
There are no docs about how decision trees (or my other models) are encoded in JSON format (because I keep changing it, and the code is pretty simple anyway), but here is how you could reverse-engineer it:
1- waffles_learn train somedata.arff randomforest > model.json
2- waffles_transform prettify model.json > human_readable.json
3- examine human_readable.json. If there are any parts that are unclear, examine GRandomForest::serialize in src/GClasses/GDecisionTree.cpp.
Thanks. I will look at your references.