Observed since 21 Oct, 11:26 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Scalable probabilistic impact modeling
Installation | User Guide | Examples | FAQs | Changelog
aimz is a Python library for scalable probabilistic impact modeling: estimating how interventions affect outcomes while quantifying uncertainty.
It provides a high-level, object-oriented interface on top of NumPyro and JAX for building, fitting, and scaling Bayesian models: a user-defined NumPyro model is wrapped as a "kernel" inside a single class, augmented with capabilities for scalable predictive sampling, structured outputs, and experiment tracking.
fit, predict, sample, and related methods through a single class; aimz does not enforce a fixed architecture.Install aimz using either pip or conda:
pip install -U aimz
conda install -c conda-forge aimz
For additional details, see the full installation guide.
from aimz import ImpactModel
# Define a probabilistic model (kernel) using NumPyro primitives
def model(X, y=None): ...
# Load or prepare data
X, y = ...
# Initialize ImpactModel with SVI or MCMC inference
im = ImpactModel(
model,
rng_key=..., # e.g., jax.random.key(0)
inference=..., # e.g., SVI (or MCMC)
)
# Fit model with minibatch SVI and draw posterior samples
im.fit(X, y, batch_size=32, epochs=10)
# Generate posterior predictive samples
dt = im.predict(X)
# Estimate the effect of fixing the sample site "treatment" to 1.0
dt_intervention = im.predict(X, intervention={"treatment": 1.0})
effect = im.estimate_effect(dt, dt_intervention)
See the Contributing Guide to get started.
If you use aimz in your work, please cite the accompanying paper in the Journal of Open Source Software:
@article{Kim2026,
title = {aimz: Scalable probabilistic impact modeling},
author = {Kim, Eunseop},
year = 2026,
journal = {Journal of Open Source Software},
publisher = {The Open Journal},
volume = 11,
number = 120,
pages = 9738,
doi = {10.21105/joss.09738},
url = {https://doi.org/10.21105/joss.09738}
}
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.16.0 | 27 Sept 2026 | 21 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:26 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:77730836dec7b06c4edad82b8a8c62c688874394c7113600a449f080e2c0a181