-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proximal of LInfty wrong? #1613
Comments
My current guess is that it should be
but I didn't have time to verify it. Anyone knows the answer? |
One way to see this is for sigma = 0 where one expects to get the identity as the prox. |
@JevgenijaAksjonova or @sbanert, do you have any input regarding the mathematical question that @mehrhardt posted? |
I think I figured what the prox should be:
but is there a good way to test whether this is correct? |
It turns out that the issue is even deeper than I thought. The following example reveals that the projection onto L1 balls is incorrect.
|
OK, I believe I figured it out :D The issue is the projection onto the L1-ball which should have been
where in the original ODL code the "if" was missing. I'll make a PR. |
PR is now open #1614 |
odl/odl/solvers/nonsmooth/proximal_operators.py
Line 1497 in a269486
As it is implemented, the proximal of the Linfty-norm does not depend on its scaling factor in front of it (see line above). Not sure what the correct formulation is but the one implemented has to be wrong. This is related to the missing tests as in #1385.
The text was updated successfully, but these errors were encountered: