Scalable probabilistic impact modeling
Project description
aimz: Scalable probabilistic impact modeling
Installation | Tutorial | User Guide | FAQs | Changelog
Overview
aimz is a Python library for scalable probabilistic impact modeling, enabling assessment of intervention effects on outcomes with a streamlined interface for fitting, sampling, prediction, and effect estimation—minimal boilerplate, accelerated execution, and powered by NumPyro, JAX, Xarray, and Zarr.
Features
- Intuitive API combining the ease of use from ML frameworks with the flexibility of probabilistic modeling.
- Accelerated computation via parallelism and distributed data.
- Support for interventional causal inference for counterfactuals and causal effects.
- MLflow integration for experiment tracking and model management.
Installation
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.
Usage
from aimz import ImpactModel
# Define probabilistic model (kernel) using Numpyro primitives
def model(X, y=None):
...
# Load or prepare data
X, y = ...
# Initialize ImpactModel
im = ImpactModel(
model,
rng_key=..., # e.g., jax.random.key(0)
inference=..., # e.g., SVI (or MCMC)
)
# Fit model and draw posterior samples
im.fit(X, y)
# Make predictions or posterior predictive samples
dt = im.predict(X)
Contributing
See the Contributing Guide to get started.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aimz-0.9.0.tar.gz.
File metadata
- Download URL: aimz-0.9.0.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a98d9a77044b668a0a692528582d3d855b007df2a48946b06140103cc4ba45ec
|
|
| MD5 |
08da385b6f159577540cd60d6aaebac5
|
|
| BLAKE2b-256 |
0e172c2cecfb0486119fc376512db5a66cf9a931d4bf0940b50d5038961c577e
|
Provenance
The following attestation bundles were made for aimz-0.9.0.tar.gz:
Publisher:
publish.yaml on markean/aimz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aimz-0.9.0.tar.gz -
Subject digest:
a98d9a77044b668a0a692528582d3d855b007df2a48946b06140103cc4ba45ec - Sigstore transparency entry: 703655640
- Sigstore integration time:
-
Permalink:
markean/aimz@252432c4393b885629bde2e5199dd192985fdbc7 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/markean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@252432c4393b885629bde2e5199dd192985fdbc7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file aimz-0.9.0-py3-none-any.whl.
File metadata
- Download URL: aimz-0.9.0-py3-none-any.whl
- Upload date:
- Size: 52.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7e6b76e43bd2a98f04aa5088f00554a92d771eda001c482f257fd192df50750
|
|
| MD5 |
ea97860f70d234e2821d7d0d9b5546ec
|
|
| BLAKE2b-256 |
79c5838f7182322ca0a86345d3d554c5e060a9a47574491e323e976157f49b0f
|
Provenance
The following attestation bundles were made for aimz-0.9.0-py3-none-any.whl:
Publisher:
publish.yaml on markean/aimz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aimz-0.9.0-py3-none-any.whl -
Subject digest:
b7e6b76e43bd2a98f04aa5088f00554a92d771eda001c482f257fd192df50750 - Sigstore transparency entry: 703655684
- Sigstore integration time:
-
Permalink:
markean/aimz@252432c4393b885629bde2e5199dd192985fdbc7 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/markean
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@252432c4393b885629bde2e5199dd192985fdbc7 -
Trigger Event:
workflow_dispatch
-
Statement type: