h2o_glm_train: Wrapper for training a h2o.glm model as part of a parsnip

View source: R/glm_wrapper.R

h2o_glm_trainR Documentation

Wrapper for training a h2o.glm model as part of a parsnip

Description

Wrapper for training a h2o.glm model as part of a parsnip

Usage

h2o_glm_train(formula, data, alpha = NULL, lambda = NULL, family = NULL, ...)

Arguments

formula

formula

data

data.frame of training data

alpha

numeric, Distribution of regularization between the L1 (Lasso) and L2 (Ridge) penalties. A value of 1 for alpha represents Lasso regression, a value of 0 produces Ridge regression.

lambda

numeric, regularization strength

family

character, one of c("gaussian", "binomial", "quasibinomial", "ordinal", "multinomial", "poisson", "gamma", "tweedie", "negativebinomial")

...

other arguments passed to the h2o engine.

Value

evaluated h2o model call


stevenpawley/h2oparsnip documentation built on June 20, 2022, 12:48 p.m.