lars()
defines a model that can predict numeric values from
predictors using linear_regression()
, a wrapper of mlpack::lars()
.
mlpack::lars()
is an implementation of Least Angle Regression
(Stagewise/laSso), also known as LARS.
Arguments
- mode
A single character string for the type of model. The only possible value for this model is "regression".
- engine
A single character string specifying what computational engine to use for fitting.
- penalty_L1
Regularization parameter for L1-norm penalty.
- penalty_L2
Regularization parameter for L2-norm penalty.