计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
mcmc-and-prediction【效率与协作】Run Pyro HMC/NUTS/MCMC diagnostics and prior/posterior predictive sampling workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user is running, tuning, or debugging Pyro
Hamiltonian Monte Carlo workflows (NUTS, HMC, MCMC.run(),
get_samples(), summary(), diagnostics()) or drawing prior/posterior
predictive samples with Predictive, WeighedPredictive, or MHResampler.
python scripts/eight_schools_mcmc_smoke.py --help; use
--disable-progbar in non-interactive logs.Use this sub-skill for requests like:
num_samples, warmup_steps, num_chains, or target_accept_prob";mcmc.summary() or mcmc.diagnostics() and fix divergences";Predictive with MCMC samples, an SVI guide, weighted samples, or
MHResampler".pyro.sample, pyro.param, pyro.plate, observations,
pyro.deterministic, seeds, and parameter-store basics: route to
../modeling-basics/..to_event(), and detailed
batch/event/plate shape algebra: route to ../distributions-and-shapes/.../svi-and-autoguides/.condition, replay, trace, block, masking/scaling,
config_enumerate, infer_discrete, and enumeration dimension allocation:
route to ../effect-handlers-and-enumeration/.MCMC(..., disable_validation=False)
and fix support/shape errors before tuning sampler parameters.init_strategy=init_to_value(...); use
unconstrained tensors only when explicitly passing initial_params.mcmc.diagnostics() for divergences, acceptance rate, n_eff,
and r_hat; do not judge convergence from a tiny smoke run.posterior_samples, sampled anew, or explicitly returned via return_sites.parallel=True predictive or multi-chain MCMC, ensure model functions are
plate-annotated and multiprocessing-safe before blaming Pyro internals.