jaxrens.io.acc_rates_log¶
Per-iteration chain-phase acceptance log: HDF5 writer and reader.
- Schema v1 (HDF5 root):
Dataset
iterationsshape (N,) int64Dataset
n_acceptedshape (N, n_runs, n_moves) int64Dataset
n_proposedshape (N, n_runs, n_moves) int64Attribute
move_namesJSON-encoded list of stringsAttribute
n_runsintAttribute
n_movesintAttribute
acc_rates_log_schema_version= 1
This file complements <prefix>.adaptation.h5: while the adaptation log
captures step-size events (initial baseline + each bisection), this log
captures the chain-phase per-move acceptance signal every iteration
(subject to the user-configured interval). Raw counts are stored so
downstream code can re-aggregate over arbitrary windows; the per-iter
rate is n_accepted / max(n_proposed, 1).
Classes
Parsed chain-phase acc-rate trace loaded from an .acc_rates.h5 file. |
|
Append-only HDF5 writer for per-iteration chain acc counts. |