h2oai / h2o-tutorials

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

Update AutoML code to fix `metalearner()` method code #151

Closed ledell closed 3 years ago

ledell commented 3 years ago

On this tutorial, there's deprecated code.

This:

# Get the Stacked Ensemble metalearner model
metalearner = h2o.get_model(se.metalearner()['name'])

Should be:

# Get the Stacked Ensemble metalearner model
metalearner = se.metalearner()