h2o_glm_train | R Documentation |
Wrapper for training a h2o.glm model as part of a parsnip
h2o_glm_train(formula, data, alpha = NULL, lambda = NULL, family = NULL, ...)
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. |
evaluated h2o model call
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.