计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
proposal_posterior_transform【效率与协作】Apply APT proposal-prior log-density corrections to candidate posterior scores for likelihood-free inference.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when implementing Automatic Posterior Transformation (APT) training on simulations drawn from a proposal distribution rather than the prior. Do not use it for ordinary prior-only neural posterior estimation, where proposal and prior corrections cancel.
model_log_scores: posterior log-score values for the same candidate atoms.prior_log_probs: log prior density for every candidate atom.proposal_log_probs: log proposal density for every candidate atom.corrected_logits: model_log_score + proposal_log_prob - prior_log_prob for every atom.probabilities: numerically stable softmax probabilities over corrected logits.-inf log densities and fail if the normalized mass is invalid.Run python scripts/apt_transform.py --self-test or the skill-tree validator with tests enabled.
This skill implements deterministic correction math only. It does not train a neural density estimator or choose proposal schedules.