nemos.regularizer.Ridge.get_proximal_operator#

Ridge.get_proximal_operator()[source]#

Retrieve the proximal operator for Ridge regularization (L2 penalty).

Return type:

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

Returns:

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