인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

ln_summary_protocol

ln_summary_protocol

Build likelihood-free linear-nonlinear neural simulations and STA/firing-rate summaries for SNPE-style posterior recovery.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: ln_summary_protocol description: Build likelihood-free linear-nonlinear neural simulations and STA/firing-rate summaries for SNPE-style posterior recovery.

LN Summary Protocol

Use this skill when a recovery or experiment needs a small mechanistic neural simulator with summary features matching the paper's LN receptive-field example. Do not use it as a generic classifier or as a likelihood evaluator.

Inputs

  • theta: receptive-field/filter vector.
  • n_stimuli, dimension, and seed for deterministic stimulus generation.
  • Optional bias and gain for Bernoulli spike probabilities.

Outputs

  • A JSON-compatible item containing theta, stimuli, spikes, summary, sta, firing_rate, and metadata.

Workflow

  1. Generate white-noise stimuli from a seeded RNG.
  2. Apply a logistic nonlinearity to stimulus-filter projections.
  3. Sample Bernoulli spikes without evaluating a likelihood.
  4. Compute STA from spike-triggering stimuli and append firing rate.
  5. Save the generated data item when used in recovery.

Validation

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

Limitations

This is a reduced LN simulator for fast mechanism checks. It is not the full paper implementation and does not reproduce high-dimensional CNN/MDN experiments.

저장한 Skills