h2o.automl中的sort_metric参数未被使用

时间:2018-06-13 08:10:54

标签: h2o automl

我试图以下列方式为多类问题运行h2o automl模型

h2o.automl(y = result,
              training_frame = train,
              max_runtime_secs = 30,
              sort_metric = "logloss")

但我最终收到错误

  

h2o.automl出错(y =结果,training_frame = train_to_model,max_runtime_secs = 30,:     未使用的参数(sort_metric =" logloss")

基于http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/algo-params/sort_metric.html中的文档,我应该能够在多类分类问题中使用logloss,但我无法做到。

我的h2o版本是3.18.0.11,R版本是3.4.1

你能告诉我为什么会这样吗?谢谢!

1 个答案:

答案 0 :(得分:1)

在最近的H2O稳定版本3.20.0.1中添加了sort_metric参数。您必须升级到最新版本的H2O才能使用它。您可以通过查看用户指南中列出的版本号来确定哪个版本的H2O是最新版本。见下面的截图。

enter image description here