Algorithm 2.
The mth iteration of Simplified Manifold Preconditioner Adaptation.
| Setup and inputs: d-dimensional random vector whose density is continuous with respect to the Lebesgue measure, assume is a compact subset of , fix the constants , step size , denote , let the sequence be such that . | ||
| function SiMPA: | ||
| 1: | Sample , . | |
| 2: | Let and propose . | |
| 3: | Let . | |
| 4: | Compute | |
| . | ||
| 5: | if and , | ⊳ proposal accepted |
| 6: | Set . | |
| 7: | else: set . | ⊳ proposal rejected |
| if and or : | ⊳ adapting | |
| 8: | Set and compute . | |
| else: | ⊳ not adapting | |
| 9: | Set . |