sigpy.prox.L2Reg

class sigpy.prox.L2Reg(shape, lamda, y=None, proxh=None)[source]

Proximal operator for l2 regularization.

\[\min_x \frac{1}{2} \|x - y\|_2^2 + \frac{\lambda}{2}\|x-z\|_2^2 + h(x)\]
Parameters:
  • shape (tuple of ints) – Input shape.
  • lamda (float) – Regularization parameter.
  • y (scalar or array) – Bias term.
  • proxh (Prox) – optional additional proximal operator.
__init__(shape, lamda, y=None, proxh=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(shape, lamda[, y, proxh]) Initialize self.