Changes for docs/config/sampling.md: 2 added lines, 2 removed lines.
Original line number
Diff line number
Diff line
@@ -49,7 +49,7 @@ The figure is drawn by `make_branches_figure.py` in this folder; rerun it when t
## The peak search (all samplers)
Before sampling, PyAETNA optimises the posterior from `peak_search_starts` prior draws at once (BFGS in double
Before sampling, PyAETNA optimises the posterior from `peak_search_starts` prior draws at once (L-BFGS, then damped Newton steps with the exact Hessian, in double
precision, in the unbounded coordinates the samplers use, on the same posterior energy), and groups the optima into
distinct peaks. Each peak is described by its energy, its maximum log-likelihood, its position and its curvature,
i.e. a Gaussian (Laplace) approximation, which also gives an approximate evidence and so a rough share of the
@@ -408,7 +408,7 @@ reports:
| **Peak search** | | | | |
| `sampling.peak_search` | no | `true` | bool | Search the peaks of the posterior before sampling |
| `sampling.peak_search_starts` | no | `32` | int ($\ge 1$) | Prior draws from which the optimisations start |
| `sampling.peak_search_maxiter` | no | `200` | int ($\ge 1$) | BFGS iterations per start |
| `sampling.peak_search_maxiter` | no | `500` | int ($\ge 1$) | L-BFGS iterations per start, at most (then 50 damped Newton steps) |
| `sampling.peak_weight_threshold` | no | `0.001` | float ($\ge 0$) | Approximate evidence, relative to the best peak, above which a peak is significant |
| `sampling.init_from_peaks` | no | — | string | With `peak_search: false`: the `_peaks.json` of an earlier run, to start NUTS or the ensemble from |
| `sampling.init_peak` | no | `1` | int ($\ge 1$) | Rank of the saved peak to start from |