Causal ML estimates conditional average treatment effects from experiments or observational data using machine learning estimators.
Overview
Causal ML is a Python package focused on uplift modeling and causal inference methods grounded in recent research literature. It exposes a common interface to estimate conditional average treatment effects: how an intervention affects an outcome for users with observed features, without requiring a fixed model form.
Documented applications include campaign targeting that finds customers likely to respond to ads, and personalized engagement that ranks treatment options per user for recommendations.
The package ships benchmark dataset loaders for standard causal inference datasets with verified downloads and metrics such as PEHE, ATE error, and policy risk. Guides cover estimator choice, validation workflows, and end-to-end heterogeneous treatment effect analysis.
Uber maintains the project as stable software under long-term incubation, with documentation, quickstarts, and example notebooks published separately.
Key features
- CATE estimation interface
- Uplift modeling estimators
- Experimental and observational data
- Benchmark dataset loaders
- PEHE and policy risk metrics
- Estimator selection guides
- Example notebooks
- Published API reference
Use cases
- Marketing campaign targeting
- Personalized treatment recommendations
- A/B test uplift analysis
- Heterogeneous treatment estimation