quickml icon indicating copy to clipboard operation
quickml copied to clipboard

RandomDecisionForest results are very different from Weka

Open bardhlohaj opened this issue 11 years ago • 2 comments

I implemented RandomDecisionForest and the results that I'm getting (using getProbability on RandomDecisionForest) are totally different from the results that I get on Weka(http://www.cs.waikato.ac.nz/ml/weka/).

Can you inform me if there is an issue on the RandomDecisionForest implementation or any specific way of how I should set the parameters of the DecisionTreeBuilder and RandomDecisionForest so I can get the same results as on Weka?

bardhlohaj avatar Jul 20 '15 10:07 bardhlohaj

Can you elaborate on what you mean by "very different"?

Have you assessed the predictive accuracy of the results relative to Weka (eg. using RMSE)?

sanity avatar Jul 20 '15 14:07 sanity

bardhlohaj, the discrepancy is most certainly coming from different default settings and perhaps slight algorithmic variations between our package and Weka. RandomDecisionForestBuilder takes a DecisionTreeBuiler as an argument. The defaults hyperparameters for DecisionTreeBuilder are very simple (and probably inappropriate for most data sets)...but they are exceptionally flexible (more so than Weks'a) and automatically tunable with the PredictiveModelOptimizer.

athawk81 avatar Jul 20 '15 15:07 athawk81