r descr_models("linear_reg", "h2o")

Tuning Parameters

defaults <- 
  tibble::tibble(parsnip = c("penalty", "mixture"),
                 default = c("see below", "see below"))

param <-
linear_reg() %>% 
  set_engine("h2o") %>% 
  make_parameter_list(defaults)

This model has r nrow(param) tuning parameters:

param$item

Translation from parsnip to the original package

[agua::h2o_train_glm()] for linear_reg() is a wrapper around [h2o::h2o.glm()] with family = "gaussian".

linear_reg(penalty = 1, mixture = 0.5) %>% 
  set_engine("h2o") %>% 
  translate()

Preprocessing requirements



By default, [h2o::h2o.glm()] uses the argument standardize = TRUE to center and scale the data.

Initializing h2o


Saving fitted model objects




Try the parsnip package in your browser

Any scripts or data that you put into this service are public.

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.