@@ -323,11 +323,10 @@ See also [`HuberRegressor`](@ref), [`QuantileRegressor`](@ref).
323323 " whether to scale the penalty with the number of observations."
324324 scale_penalty_with_samples:: Bool = true
325325 """ some instance of `MLJLinearModels.S` where `S` is one of: `LBFGS`, `IWLSCG`,
326- `Newton`, `NewtonCG`, `ProxGrad`, unless `gamma > 0` (L1 norm penalized) in which
327- case only `ProxGrad` solvers are allowed.
326+ `Newton`, `NewtonCG`, if `penalty = :l2`, and `ProxGrad` otherwise.
328327
329- If `solver = nothing` (default) then `ProxGrad(accel=true )` (FISTA) is used,
330- unless `gamma = 0`, in which case `LBFGS()` is used.
328+ If `solver = nothing` (default) then `LBFGS( )` is used, if `penalty = :l2`, and
329+ otherwise `ProxGrad(accel=true)` (FISTA) is used.
331330
332331 Solver aliases: `FISTA(; kwargs...) = ProxGrad(accel=true, kwargs...)`,
333332 `ISTA(; kwargs...) = ProxGrad(accel=false, kwargs...)`"""
@@ -398,11 +397,10 @@ See also [`RobustRegressor`](@ref), [`QuantileRegressor`](@ref).
398397 " whether to scale the penalty with the number of observations."
399398 scale_penalty_with_samples:: Bool = true
400399 """ some instance of `MLJLinearModels.S` where `S` is one of: `LBFGS`, `IWLSCG`,
401- `Newton`, `NewtonCG`, `ProxGrad`, unless `gamma > 0` (L1 norm penalized) in which
402- case only `ProxGrad` solvers are allowed.
400+ `Newton`, `NewtonCG`, if `penalty = :l2`, and `ProxGrad` otherwise.
403401
404- If `solver = nothing` (default) then `ProxGrad(accel=true )` (FISTA) is used,
405- unless `gamma = 0`, in which case `LBFGS()` is used.
402+ If `solver = nothing` (default) then `LBFGS( )` is used, if `penalty = :l2`, and
403+ otherwise `ProxGrad(accel=true)` (FISTA) is used.
406404
407405 Solver aliases: `FISTA(; kwargs...) = ProxGrad(accel=true, kwargs...)`,
408406 `ISTA(; kwargs...) = ProxGrad(accel=false, kwargs...)`"""
@@ -473,11 +471,10 @@ See also [`RobustRegressor`](@ref), [`HuberRegressor`](@ref).
473471 " whether to scale the penalty with the number of observations."
474472 scale_penalty_with_samples:: Bool = true
475473 """ some instance of `MLJLinearModels.S` where `S` is one of: `LBFGS`, `IWLSCG`,
476- `ProxGrad`, unless `gamma > 0` (L1 norm penalized) in which case only
477- `ProxGrad` solvers are allowed.
474+ if `penalty = :l2`, and `ProxGrad` otherwise.
478475
479- If `solver = nothing` (default) then `ProxGrad(accel=true )` (FISTA) is used,
480- unless `gamma = 0`, in which case `LBFGS()` is used.
476+ If `solver = nothing` (default) then `LBFGS( )` is used, if `penalty = :l2`, and
477+ otherwise `ProxGrad(accel=true)` (FISTA) is used.
481478
482479 Solver aliases: `FISTA(; kwargs...) = ProxGrad(accel=true, kwargs...)`,
483480 `ISTA(; kwargs...) = ProxGrad(accel=false, kwargs...)`"""
@@ -553,11 +550,10 @@ $(example_docstring("LADRegressor"))
553550 " whether to scale the penalty with the number of observations."
554551 scale_penalty_with_samples:: Bool = true
555552 """ some instance of `MLJLinearModels.S` where `S` is one of: `LBFGS`, `IWLSCG`,
556- `ProxGrad`, unless `gamma > 0` (L1 norm penalized) in which case only
557- `ProxGrad` solvers are allowed.
553+ if `penalty = :l2`, and `ProxGrad` otherwise.
558554
559- If `solver = nothing` (default) then `ProxGrad(accel=true )` (FISTA) is used,
560- unless `gamma = 0`, in which case `LBFGS()` is used.
555+ If `solver = nothing` (default) then `LBFGS( )` is used, if `penalty = :l2`, and
556+ otherwise `ProxGrad(accel=true)` (FISTA) is used.
561557
562558 Solver aliases: `FISTA(; kwargs...) = ProxGrad(accel=true, kwargs...)`,
563559 `ISTA(; kwargs...) = ProxGrad(accel=false, kwargs...)`"""
0 commit comments