首页 > 解决方案 > 如何修复 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)

标签: h2o

解决方案


推荐阅读