🔧 PyProximal API¶
The Application Programming Interface (API) of PyProximal is composed of 3 elements:
Orthogonal projections
Proximal operators
Solvers
Orthogonal projections¶
|
Affine set projection. |
|
Box orthogonal projection. |
|
Euclidean ball projection. |
|
Convex projection of the intersection of convex sets using Dykstra's algorithm. |
Hankel matrix projection. |
|
|
Half space projection. |
|
Orthogonal projection of the intersection between a Hyperplane and a Box. |
|
Intersection of multiple convex sets |
|
\(L_0\) ball projection. |
|
\(L_{1,0}\) ball projection. |
|
\(L_1\) ball projection. |
|
Nuclear ball projection |
|
Simplex projection. |
Proximal operators¶
Templates¶
|
Common interface for proximal operators of a function. |
|
Moreau Identity. |
Vector¶
Convex¶
|
Affine set proximal operator. |
|
Box proximal operator. |
|
Euclidean norm proximal operator. |
|
Euclidean ball proximal operator. |
|
The proximal operator corresponding to the convex projection to the intersection of convex sets using Dykstra's algorithm. |
|
Half space proximal operator. |
|
Hankel proximal operator. |
|
Huber norm proximal operator. |
|
Circular Huber norm proximal operator. |
|
Intersection of multiple convex sets operator. |
|
\(L_0\) norm proximal operator. |
|
\(L_0\) ball proximal operator. |
|
\(L_{1,0}\) ball proximal operator. |
|
L1 norm proximal operator. |
|
L1 ball proximal operator. |
|
L2 Norm proximal operator. |
|
L2 Norm proximal operator with convolution operator |
|
\(L_{2,1}\) proximal operator. |
|
L21 + L1 norm proximal operator. |
|
Proximal operator of any function of the product between an orthogonal matrix and a vector (plus summation of a vector). |
|
Quadratic function proximal operator. |
|
Simplex proximal operator. |
|
Proximal operator of the sum of proximable functions using Dykstra-like algorithm. |
|
TV Norm proximal operator. |
Non-Convex¶
|
Exponential-type penalty (ETP). |
|
Geman penalty. |
|
Logarithmic penalty. |
|
Logarithmic penalty 2. |
Quadratic envelope of the \(\ell_0\)-penalty. |
|
Quadratic envelope of the indicator function of the \(\ell_0\)-penalty. |
|
|
Relaxed Mumford-Shah norm proximal operator. |
|
Smoothly clipped absolute deviation (SCAD) penalty. |
Matrix-only¶
|
Nuclear norm proximal operator. |
|
Nuclear ball proximal operator. |
|
Proximal operator of a penalty acting on the singular values. |
|
Quadratic envelope of the rank function with an L2 misfit term. |
Other¶
Other operators¶
Common interface for bilinear operator of a function. |
|
|
Low-Rank Factorized Matrix operator. |
Utility functions¶
|
Gradient test for Proximal operator. |
|
Gradient test for Bilinear operator. |
Solvers¶
Primal¶
|
Accelerated Proximal gradient |
|
Alternating Direction Method of Multipliers |
|
Alternating Direction Method of Multipliers for L2 misfit term |
|
Proximal gradient with Anderson acceleration |
|
Generalized Proximal gradient |
|
Half Quadratic splitting |
|
Linearized Alternating Direction Method of Multipliers |
|
Proximal gradient (optionally accelerated) |
|
Proximal point algorithm |
|
Two-step Iterative Shrinkage/Threshold |
|
Douglas-Rachford Splitting |
|
Parallel Proximal Algorithm (PPXA) |
|
Consensus ADMM |
|
Proximal Alternating Linearized Minimization |
|
Inertial Proximal Alternating Linearized Minimization |
|
Plug-and-Play Priors with any proximal algorithm of choice |
|
Sparse Relaxed Regularized Regression |
Primal-dual¶
|
Adaptive Primal-dual algorithm |
|
Primal-dual algorithm |
Other¶
|
Bregman iterations with Proximal Solver |
|
Primal-dual algorithm for image segmentation |