#| child: aaa.Rmd
#| include: false

r descr_models("multinom_reg", "h2o")

Tuning Parameters

#| label: h2o-param-info
#| echo: false
defaults <- 
  tibble::tibble(parsnip = c("penalty", "mixture"),
                 default = c("see below", "see below"))

param <-
multinom_reg() |> 
  set_engine("h2o") |> 
  make_parameter_list(defaults)

This model has r nrow(param) tuning parameters:

#| label: h2o-param-list
#| echo: false
#| results: asis
param$item
#| child: template-h2o-glm-penalty.Rmd
#| include: false

Translation from parsnip to the original package

[agua::h2o_train_glm()] for multinom_reg() is a wrapper around [h2o::h2o.glm()] with family = 'multinomial'.

#| label: h2o-cls
multinom_reg(penalty = double(1), mixture = double(1)) |> 
  set_engine("h2o") |> 
  translate()

Preprocessing requirements

#| child: template-makes-dummies.Rmd
#| child: template-same-scale.Rmd

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

Initializing h2o

#| child: template-h2o-init.Rmd


Try the parsnip package in your browser

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

parsnip documentation built on June 8, 2025, 12:10 p.m.