py-why/EconML
ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research project aimed at applying Artificial Intelligence concepts to economic decision making. One of its goals is to build a toolkit that combines state-of-the-art machine learning techniques with econometrics in order to bring automation to complex causal inference problems. To date, the ALICE Python SDK (econml) implements orthogonal machine learning algorithms such as the double machine learning work of Chernozhukov et al. This toolkit is designed to measure the causal effect of some treatment variable(s) t on an outcome variable y, controlling for a set of features x.
The package supports heterogeneous treatment effect estimation across multiple methodologies including instrumental variable approaches and methods robust to unobserved confounding, each with asymptotically valid confidence intervals. Beyond estimation, it provides interpretability tools, causal model selection via cross-validation, and policy learning capabilities to optimize treatment assignment decisions. Built on scikit-learn conventions, it integrates seamlessly with standard ML workflows while maintaining econometric rigor for valid statistical inference on observational data.
4,537 stars and 550,132 monthly downloads. Used by 2 other packages. Available on PyPI.
Stars
4,537
Forks
798
Language
Jupyter Notebook
License
—
Category
Last pushed
Mar 09, 2026
Monthly downloads
550,132
Commits (30d)
0
Dependencies
10
Reverse dependents
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/py-why/EconML"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
uber/causalml
Uplift modeling and causal inference with machine learning algorithms
py-why/dowhy
DoWhy is a Python library for causal inference that supports explicit modeling and testing of...
cdt15/lingam
Python package for causal discovery based on LiNGAM.
andrewtavis/causeinfer
Machine learning based causal inference/uplift in Python
maks-sh/scikit-uplift
:exclamation: uplift modeling in scikit-learn style in python :snake: