Skip to content

Commit

Permalink
Merge pull request #190 from mrava87/fix-huber
Browse files Browse the repository at this point in the history
doc: small change in definition of Huber prox
  • Loading branch information
mrava87 authored Dec 10, 2024
2 parents 9acab7e + 660bce7 commit b434388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproximal/proximal/Huber.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Huber(ProxOperator):
.. math::
\prox^*_{\tau H_\alpha(\cdot)}(\mathbf{x}) =
\left( 1 - \frac{\tau}{\max\{\|\mathbf{x}\|_2, \tau\} + \alpha} \right) \mathbf{x}
\prox_{\tau H_\alpha(\cdot)}(\mathbf{x}) =
\left( 1 - \frac{\tau}{\max\{\|\mathbf{x}\|_2, \tau + \alpha \} } \right) \mathbf{x}
"""
def __init__(self, alpha):
Expand Down

0 comments on commit b434388

Please sign in to comment.