简体   繁体   English

在h2o(随机森林)中合奏-多项式分布

[英]Ensemble in h2o (random forest) -multinomial distribution

I have a problem with building an ensemble using h2o and Random Forest as one of the components. 我在使用h2o和Random Forest作为组件之一来构建整体时遇到问题。 I estimate the models as in h2o 's documentation with the only difference being the dependent variable being a multiclass variable. 我根据h2o的文档估计模型,唯一的区别是因变量是多类变量。 When I try to build an ensemble I get the following error: 当我尝试建立整体时,出现以下错误:

Error: water.exceptions.H2OIllegalArgumentException: Don't know how to set the distribution for a multinomial Random Forest classifier.

I tried googling it but with no success. 我尝试使用Google搜索,但没有成功。 Anyone knows what to do in such a case? 有人知道在这种情况下该怎么办吗?

Multiclass support for Stacked Ensemble was only released very recently (in H2O 3.16.0.1), so you'll need to upgrade your H2O package for this to work. 仅在最近(H2O 3.16.0.1中)才发布了对Stacked Ensemble的多类支持,因此您需要升级H2O软件包才能起作用。

You can use update.packages("h2o") to upgrade to the latest CRAN version. 您可以使用update.packages("h2o")升级到最新的CRAN版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM