Architects and optimizes data preprocessing pipelines for simulation-based inference models using the BayesFlow framework.
This skill empowers Claude to build, debug, and refine BayesFlow adapters—the essential data preprocessing bridge between simulator outputs and neural inference networks. It provides specialized guidance on mapping simulator data to specific schema slots like inference variables and summary conditions, ensuring that data transformations and standardizations follow the correct mathematical order. By leveraging analytical prior moments for standardization and implementing custom reparameterization transforms, the skill helps prevent common pitfalls like distribution shift and incorrect broadcasting in complex Simulation-Based Inference (SBI) workflows.
Key Features
01Generates HPO-compatible declarative configurations using the AdapterSpec pattern.
02Maps simulator outputs into inference_variables, summary_variables, and inference_conditions.
03Implements analytical prior-moment standardization to prevent training distribution shifts.
04Supports custom elementwise and cross-key reparameterization transforms.
050 GitHub stars
06Enforces correct pipeline sequencing by performing transformations before standardization.
Use Cases
01Debugging model training issues caused by empirical batch standardization or incorrect transform ordering.
02Refactoring manual preprocessing code into standardized BayesFlow adapter objects.
03Building robust data pipelines for complex Simulation-Based Inference (SBI) tasks.