| cuda_ml_linear_reg | R Documentation |
This is the tidymodels-style linear regression interface. It dispatches to
cuda_ml_ols(), cuda_ml_ridge(), cuda_ml_lasso(), or
cuda_ml_elastic_net() according to penalty and mixture.
The named model functions remain available when direct control over their
solver arguments is needed.
cuda_ml_linear_reg(formula, data, penalty = NULL, mixture = NULL, ...)
formula |
A model formula. |
data |
A data frame containing predictors and outcome. |
penalty |
A non-negative regularization strength, or |
mixture |
The proportion of regularization assigned to the L1 penalty,
between 0 and 1. When |
... |
Arguments passed to the selected named model function. |
A fitted cuda.ml linear model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.