界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

posterior_predictive_validation

posterior_predictive_validation

【效率与协作】Validate SNPE-style posterior recovery using parameter correlation, posterior predictive summary error, and mechanism checks.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: posterior_predictive_validation description: Validate SNPE-style posterior recovery using parameter correlation, posterior predictive summary error, and mechanism checks.

Posterior Predictive Validation

Use this skill to decide whether a reduced or full simulation-based posterior recovery has exercised the paper mechanism. Do not accept proxy recovery from a metric alone; require mechanism checks.

Inputs

  • Posterior mean or posterior samples.
  • True parameter if using synthetic data.
  • Observed summary and posterior predictive summaries.
  • Declared metric threshold and mechanism flags.

Outputs

  • Filter correlation metric.
  • Posterior predictive summary error.
  • Boolean mechanism checks.
  • Acceptance decision with reasons.

Workflow

  1. Compute centered vector correlation between posterior mean and true parameter.
  2. Compute average absolute summary error for posterior predictive summaries.
  3. Verify required mechanism flags: simulator executed, summaries conditioned, posterior estimator fit, posterior samples generated, no likelihood evaluation, and no original repository use.
  4. Accept only if metric, summary error, and mechanism checks pass.

Validation

Run python tests/test_validation.py from this skill directory.

Limitations

Correlation against synthetic ground truth is a reduced validation target; full paper validation would compare richer posterior distributions and biological traces.

我的收藏