r descr_models("poisson_reg", "h2o")

Tuning Parameters

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

param <-
poisson_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 poisson_reg() is a wrapper around [h2o::h2o.glm()] with family = 'poisson'.

r uses_extension("poisson_reg", "h2o", "regression")

library(poissonreg)

poisson_reg(penalty = double(1), mixture = double(1)) %>% 
  set_engine("h2o") %>% 
  translate()

Preprocessing requirements



By default, h2o::h2o.glm() uses the argument standardize = TRUE to center and scale all numerical columns.

Initializing h2o


Saving fitted model objects




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