feat: start NUTS or the ensemble near given values without a peak search;...
feat: start NUTS or the ensemble near given values without a peak search; comparison runs without the search
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changes for docs/config/sampling.md: 6 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -81,6 +81,10 @@ earlier `_peaks.json` (`init_from_peaks`, and `init_peak`, its rank, 1 by defaul
prior medians (with NumPyro's own adaptation) and the ensemble from prior draws, which needs a much longer adaptation
or burn-in.
Or, to start as another code does, e.g. allesfitter's walkers near the values of its parameter file:
`init_values: {free parameter: value, ...}` (every free parameter) and `init_radius` (default `1e-4`, a uniform
ball in unconstrained space).
```yaml
sampling:
production_sampler:nuts
@@ -412,6 +416,8 @@ reports:
| `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 |
| `sampling.init_values` | no | — | dict | With `peak_search: false`: start NUTS or the ensemble near these values (one per free parameter), as codes such as allesfitter do |
| `sampling.init_radius` | no | `1e-4` | float ($\ge 0$) | Half-width of the uniform ball around `init_values`, in unconstrained space |
| `sampling.prior_bounds` | no | — | dict | `{free parameter: [low, high]}`: truncate those priors to a box (written by the peak search for each peak) |
| **Nested sampling** | | | | |
| `sampling.n_live_if_ns` | no | `500` | int ($\ge 50$) | Live points |