Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CaML Logo

image PyPI - Downloads lifecycle pre-commit ruff uv
Caml CI/CD Build & Publish Docs Pre-Commit & Linting Checks
codecov

Causal Machine Learning

Welcome!

CaML provides a high-level API for an opinionated framework in performing Causal ML to estimate Average Treatment Effects (ATEs), Group Average Treatment Effects (GATEs), and Conditional Average Treatment Effects (CATEs), and to provide mechanisms to utilize these models for out of sample validation, prediction, & policy prescription.

The codebase is comprised primarily of extensions & abstractions over top of EconML & DoubleML with techniques motivated heavily by Causal ML Book and additional research.

Background

The origins of CaML are rooted in a desire to develop a set of helper tools to abstract and streamline techniques & best pratices in Causal ML/Econometrics for estimating ATEs, GATEs, and CATEs, along with policy prescription. In addition, we seek to provide a framework for validating & scoring these models on out of sample data to help set the foundations for an AutoML framework for CATE models.

As we began working on these helper tools, we begun to see the value in reformulating this framework into a reusable package for wider use amongst the community and to provide an opinionated framework that can be integrated into productionalized systems, particularly experimentation platforms, for efficient estimation of causal parameters for reporting & decision-making purposes.

All of the standard assumptions for causal inference still apply in order for these tools & techniques to provide unbiased inference. A great resource for the CausalML landscape is the CausalML book written and publicly available generously by V. Chernozhukov, C. Hansen, N. Kallus, M. Spindler, & V. Syrgkanis.

Given a key motivation is to provide a tool for productionalized systems, we are building this package with interoperability and extensibility as core values. As of now, the tools utilized still rely on in-memory datasets for estimation (via EconML for causal models & flaml for AutoML of nuissance functions), but we leverage Ray & Spark for distributing certain processes where appropriate and if available for the user.

Metadata

Release files for caml 0.0.0.dev17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for caml 0.0.0.dev17
File Size Uploaded
caml-0.0.0.dev17.tar.gz 331.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for caml 0.0.0.dev17
File Interpreter ABI Platform
caml-0.0.0.dev17-py3-none-any.whl Python 3 none any Details

Total release size: 372.5 kB

Release files / caml-0.0.0.dev17.tar.gz

Download URL caml-0.0.0.dev17.tar.gz
Size 331.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f71988c4c22710b9678f1bf869cdc49df0c28be6d409527a72313d987f4895a2
BLAKE2b-256 checksum
How to use checksums
3d00b1f5bd52662a84da721ffde10c1b5594f30e7400494b1c5d33620a085be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / caml-0.0.0.dev17-py3-none-any.whl

Download URL caml-0.0.0.dev17-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7424f5623728420dc127f8e6b7943eaeb94aed7c3bdb94a46873762a310b923
BLAKE2b-256 checksum
How to use checksums
577957a76d0717d518a2204a865a18bda0772b65f6d92f03c9a084ed71815683
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page