I am trying to train a decision tree model by using h2o. I am aware that no specific library for decision trees exist in h2o.
This is the code when I use GBM algorithm in h2o, but I can use Decision Tree like this. Because there is no Decision Tree code in h2o.
GBMParametersV3 gbmParams = new GBMParametersV3();
gbmParams.trainingFrame = H2oApi.stringToFrameKey("train");
gbmParams.validationFrame = H2oApi.stringToFrameKey("test");
ColSpecifierV3 responseColumn = new ColSpecifierV3();
responseColumn.columnName = ATT_LABLE_IRIS;
gbmParams.responseColumn = responseColumn;
GBMV3 gbmBody = h2o.train_gbm(gbmParams);
...
So, how can I use Decision Tree algorithm in h2o?