LassoRegressor
LassoRegressor
A model type for constructing a lasso regressor, based on MLJScikitLearnInterface.jl, and implementing the MLJ model interface.
From MLJ, the type can be imported using
LassoRegressor = @load LassoRegressor pkg=MLJScikitLearnInterface
Do model = LassoRegressor()
to construct an instance with default hyper-parameters. Provide keyword arguments to override hyper-parameter defaults, as in LassoRegressor(alpha=...)
.
Hyper-parameters
alpha = 1.0
fit_intercept = true
precompute = false
copy_X = true
max_iter = 1000
tol = 0.0001
warm_start = false
positive = false
random_state = nothing
selection = cyclic