nemos.regularizer.Lasso.get_proximal_operator#

Lasso.get_proximal_operator()[source]#

Retrieve the proximal operator for Lasso regularization (L1 penalty).

Return type:

Callable[[Any, float, float], Tuple[Array, Array]]

Returns:

The proximal operator, applying L1 regularization to the provided parameters. The intercept term is not regularized.