h2oai / h2o-tutorials

Tutorials and training material for the H2O Machine Learning Platform
http://h2o.ai
1.48k stars 1.01k forks source link

Automl tutorial error #95

Closed RabbitJackTrade closed 5 years ago

RabbitJackTrade commented 5 years ago

While trying to run automl_binary_classification_product_backorders.ipynb, the last line in the first Ensemble Exploration section:

metalearner = h2o.get_model(aml.leader.metalearner()['name'])

raises:

AttributeError: type object 'H2OGradientBoostingEstimator' has no attribute 'metalearner'

ABartzGit commented 5 years ago

@RabbitJackTrade Thank you for pointing this out. The command should now be: metalearner = h2o.get_model(se.metalearner()['name']) I've updated the ipynb. Please let me know if you have any other issues.

RabbitJackTrade commented 5 years ago

Thanks, @angela0xdata. It works now.