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




topepo/parsnip documentation built on April 16, 2024, 3:23 a.m.