save GBag train

Help
2012-04-13
2012-09-14
  • Hi,

    I use a GBag ensemble with 50 GDecisionTrees.

    How can I save result of training, like with waffles_learn train ..... >
    train.twt

     
  • From the command line:

    waffles_learn train mydata.arff bag 50 decisiontree end > model.json

    In C++ code:

    GDom doc;

    doc.setRoot(mybag.serialize(&doc));

    doc.saveJson("filename.json");

     


Anonymous


Cancel   Add attachments