Menu

JSON Random Forest

Help
Anonymous
2014-06-03
2014-06-04
  • Anonymous

    Anonymous - 2014-06-03

    Is there documentation for JSON format random forest output by waffles?

    Thanks,
    Ganesh

     
  • Mike Gashler

    Mike Gashler - 2014-06-03

    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.

     
  • Anonymous

    Anonymous - 2014-06-04

    Thanks. I will look at your references.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.