Skip to content
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

Shifted Composite L2 Norm #124

Open
wants to merge 43 commits into
base: master
Choose a base branch
from

Conversation

MaxenceGollier
Copy link

Implementation of the proximal operator of a composite term $||Ax+b||_2$. This is different from other operators of this library in the fact that shifts are no longer simply $\psi(x+s)$ for some non-differentiable function $\psi$.
Hence, some abstract types are added in ShiftedProximalOperators.jl.

In practice, such proximal operators are useful when we want to make a model of a penalty term $x \xrightarrow{} ||c(x)||_2$. The first-order model of the penalty term is then $s \xrightarrow{} ||c(x) + J(x)s||_2$.

As mentionned above, the shift is no longer simply $\psi(x+s)$. Hence, we add a CompositeNormL2 struct which mimics the unshifted function and implements $x\xrightarrow{} ||c(x)||_2$. On shifts, this transforms to a ShiftedCompositeNormL2 struct which implements $s\xrightarrow{} ||c(x)+J(x)s||_2$.

Project.toml Outdated Show resolved Hide resolved
Project.toml Outdated Show resolved Hide resolved
Project.toml Outdated Show resolved Hide resolved
src/compositeNormL2.jl Outdated Show resolved Hide resolved
src/compositeNormL2.jl Outdated Show resolved Hide resolved
src/shiftedCompositeNormL2.jl Outdated Show resolved Hide resolved
src/shiftedCompositeNormL2.jl Show resolved Hide resolved
src/shiftedCompositeNormL2.jl Outdated Show resolved Hide resolved
src/shiftedCompositeNormL2.jl Outdated Show resolved Hide resolved
src/shiftedCompositeNormL2.jl Outdated Show resolved Hide resolved
@MaxenceGollier
Copy link
Author

I think this is ready for another round of review @dpo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants