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.
Arguments
- formula
A model formula.
- data
A data frame containing predictors and outcome.
- penalty
A non-negative regularization strength, or
NULLfor no regularization.- mixture
The proportion of regularization assigned to the L1 penalty, between 0 and 1. When
NULL, a lasso penalty is used.- ...
Arguments passed to the selected named model function.