UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
生産性・共同作業 · SKILL.md

tsnpe_sir_fallback_sampler

tsnpe_sir_fallback_sampler

Run deterministic sampling-importance-resampling diagnostics for narrow TSNPE proposals.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: tsnpe_sir_fallback_sampler description: Run deterministic sampling-importance-resampling diagnostics for narrow TSNPE proposals.

Tsnpe Sir Fallback Sampler

Use this skill when rejection sampling from the truncated proposal is too inefficient and a fixed candidate budget is needed. It computes normalized importance weights from log prior minus log posterior proposal values, seeded systematic resampling indices, and effective sample size. Do not treat SIR as valid if all weights collapse or ESS is not recorded.

Inputs: JSON with candidate_samples, log_prior, log_proposal, num_samples, and optional seed. Outputs: JSON with selected samples, normalized weights, ESS, and mechanism checks. Validation: run python tests/test_sir.py.

保存したスキル