【发布时间】:2018-11-17 07:33:39
【问题描述】:
我正在尝试使用 h2o 训练决策树模型。我知道 h2o 中没有特定的决策树库。但是,h2o 实现了随机森林 H2ORandomForestEstimator。我们可以通过调整随机森林的某些输入参数在 h2o 中实现决策树吗?因为我们可以在 scikit 模块(一个流行的机器学习 Python 库)中做到这一点
参考链接: Why is Random Forest with a single tree much better than a Decision Tree classifier?
在 scikit 中,代码看起来像这样
RandomForestClassifier(n_estimators=1, max_features=None, bootstrap=False)
我们在 h2o 中有与此代码等效的代码吗?
【问题讨论】:
标签: python machine-learning scikit-learn decision-tree h2o