h2oai / h2o-tutorials

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

Fixes deprecated code for metalearner() #152

Closed vivianah closed 3 years ago

vivianah commented 3 years ago

Resolves Issue https://github.com/h2oai/h2o-tutorials/issues/151

Changing the stacked ensemble metalearner() method to the updated version in automl. The code previously in here metalearner = h2o.get_model(se.metalearner()['name']) is deprecated code. Therefore, it's been updated to metalearner = se.metalearner().