Falcon¶
Factorized Adaptive Learning of Conditional Orchestrated Networks
Falcon is a Python framework for simulation-based inference (SBI) with adaptive learning. It enables learning of complex conditional distributions through a declarative YAML-based approach, with distributed network training orchestrated via Ray.
Key Features¶
- Declarative Configuration: Define probabilistic models using intuitive YAML syntax
- Automatic Parallelization: Distributed execution via Ray actors
- Adaptive Learning: Sequential neural posterior estimation with importance sampling
- Experiment Tracking: Built-in WandB integration for monitoring training
Quick Example¶
graph:
theta:
evidence: [x]
simulator:
_target_: falcon.priors.Hypercube
priors:
- ['uniform', -10.0, 10.0]
estimator:
_target_: falcon.estimators.Flow
x:
parents: [theta]
simulator:
_target_: model.Simulator
observed: "./data/obs.npz['x']"
Installation¶
Or install from source:
Next Steps¶
- Getting Started: Walk through your first Falcon project
- Configuration: Learn the YAML configuration format
- API Reference: Explore the Python API