0

我正在尝试以下列方式为多类问题运行 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

你能告诉我为什么会发生这种情况吗?谢谢!

4

1 回答 1

1

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

在此处输入图像描述

于 2018-06-13T16:20:02.603 回答