计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
mcmc-diagnostics【效率与协作】Run and troubleshoot NumPyro MCMC workflows with diagnostics, predictive sampling, reparameterization, and JAX chain configuration.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to run, configure, inspect, or repair a NumPyro MCMC workflow: NUTS/HMC, alternative kernels, multiple chains, diagnostics, posterior predictive sampling, pointwise log likelihood, bad-geometry fixes, or JAX backend selection.
MCMC.run(...) with useful extra_fields, then inspect get_samples(...), get_extra_fields(...), and print_summary(...).diverging, potential_energy, low n_eff, high r_hat, and weak ESS using references/diagnostics-and-reparameterization.md.Run the CPU-safe 8-schools smoke test when you need a deterministic sanity check of NUTS, diagnostics fields, and optional posterior predictive sampling:
python scripts/eight_schools_smoke.py --help
python scripts/eight_schools_smoke.py --num-warmup 20 --num-samples 30 --predict-new-school
The script uses tiny defaults for fast validation only; do not treat its diagnostics as convergence evidence for a real analysis.
NeuTraReparam belong in ../svi-autoguides/; return here for NeuTra-backed MCMC after a guide is trained.NUTS, HMC, BarkerMH, MixedHMC, HMCGibbs, DiscreteHMCGibbs, HMCECS, SA, AIES, and ESS.MCMC.run, warmup, post_warmup_state, get_samples, get_extra_fields, and print_summary.potential_energy, diverging, num_steps, accept_prob, or adapt_state.step_size.TransformReparam, LocScaleReparam, or NeuTraReparam to reduce bad posterior geometry.num_chains, chain_method, CPU host devices, GPU/TPU backend selection, and x64 precision.