h2o - 如何修复 TypeError:调用 H2O get_grid 函数时“float”对象不可迭代?
问题描述
我正在关注 h2o 文档(http://s3.amazonaws.com/h2o-release/h2o/master/4739/docs-website/h2o-docs/grid-search.html)进行网格搜索,但我收到了错误TypeError: 'float' object is not iterable 尝试使用文档中的以下代码打印网格搜索结果时:
gbm_gridperf1 = gbm_grid.get_grid(sort_by='AUC', decreasing=True)
解决方案
推荐阅读
- reactjs - 基于三元运算符 JSX 插入或删除封闭元素
- angular - *ngFor Inside *ngIf - 如何正确重写
- go - 多行缓冲读取
- c# - 我想要像下面这样的电子邮件 ID 验证应该接受普通的电子邮件 ID 以及以下电子邮件 ID
- html - 如何使用 css 选择具有相同类的兄弟 div?
- google-analytics - 来自谷歌分析 api 的维度年、月和渠道分组的不同汇总总计
- laravel - Laravel 策略通过刀片模板
- sql-server - 获取分层数据,但数据不直接
- python - Spark IndexError:列表索引超出范围
- azure-data-explorer - 使用 persistDetails = true 从存储中摄取不保存摄取状态结果