stevenpawley / h2oparsnip

Model Wrappers for H2O models
Other
19 stars 3 forks source link

automl does not have model_id arg #2

Closed hiltbrd closed 4 years ago

hiltbrd commented 4 years ago

I was trying to use the automl feature of your package but kept getting the error:

> aml <- automl(mode = "regression") 
> aml %>% 
+   fit(mpg ~ ., data = mtcars)
Registered S3 method overwritten by 'data.table':
  method           from
  print.data.table     
  |===========================================================================| 100%
Error in h2o::h2o.automl(x = c("cyl", "disp", "hp", "drat", "wt", "qsec",  : 
  unused argument (model_id = "automl_904723902")
Timing stopped at: 0.48 0.036 0.594

I checked the docs and it looks like h2o does not use model_id with their automl function. http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/algo-params/model_id.html?highlight=model_id

stevenpawley commented 4 years ago

Thanks for reporting this, the automl model is so far just a quick/rough addition and I assumed that it also had a model_id - fixed in recent commits.