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

posterior_sampling_baseline

posterior_sampling_baseline

【效率与协作】Generate deterministic reference and approximate posterior samples for bounded simulation-based inference recovery experiments.

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

技能说明

GitHub

name: posterior_sampling_baseline description: Generate deterministic reference and approximate posterior samples for bounded simulation-based inference recovery experiments.

Posterior Sampling Baseline

Use this skill when an SBI benchmark recovery needs posterior samples to feed into distributional metrics. It consumes a task item from sbibm_task_protocol and emits reference and approximate sample matrices.

Inputs

  • Task item JSON containing analytic posterior mean and variance.
  • Number of samples, random seed, and approximation mode: matched, shifted, or wide.

Outputs

  • JSON sample file containing reference samples, approximate samples, and sampling metadata.

Workflow

  1. Read the task item and validate posterior parameters.
  2. Draw reference samples from the analytic posterior.
  3. Draw approximate samples from the selected approximation distribution.
  4. Record sample count, dimension, seed, and approximation mode.

Validation

Run the included tests or validate_skill_tree.py --run-tests.

Limitations

The module is a reduced posterior-sampling baseline, not a full neural SBI algorithm. It is valid for soft-mode proxy recovery when the goal is to exercise the benchmark comparison mechanism.

我的收藏