#8888th of 126 in ML frameworks and libraries

causalml

Python library for uplift modeling and causal inference with ML estimators

Stars
6k
License
custom license
Last commit
Oct 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+274
3 Apr 2026: 5,763 stars10 Apr 2026: 5,776 stars17 Apr 2026: 5,791 stars24 Apr 2026: 5,797 stars1 May 2026: 5,801 stars8 May 2026: 5,804 stars15 May 2026: 5,814 stars22 May 2026: 5,824 stars29 May 2026: 5,832 stars5 Jun 2026: 5,838 stars12 Jun 2026: 5,853 stars19 Jun 2026: 5,858 stars26 Jun 2026: 5,869 stars3 Jul 2026: 5,880 stars10 Jul 2026: 5,902 stars17 Jul 2026: 5,913 stars24 Jul 2026: 5,919 stars31 Jul 2026: 5,924 stars7 Aug 2026: 5,933 stars14 Aug 2026: 5,942 stars21 Aug 2026: 5,956 stars28 Aug 2026: 5,967 stars4 Sept 2026: 5,978 stars11 Sept 2026: 5,987 stars18 Sept 2026: 5,994 stars25 Sept 2026: 6,004 stars2 Oct 2026: 6,010 stars9 Oct 2026: 6,017 stars16 Oct 2026: 6,025 stars23 Oct 2026: 6,031 stars30 Oct 2026: 6,037 stars

5,763 on 3 Apr 20266,037 on 30 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Causal ML is a Python package that estimates the Conditional Average Treatment Effect (CATE) of an intervention on an outcome, from experimental or observational data, through a common estimator interface. It implements uplift trees, meta-learners, doubly robust and neural-network methods from the cited literature. It also ships loaders for the LaLonde, IHDP and Twins benchmarks, with PEHE, ATE error and policy risk metrics.

Who it is for: Data scientists running uplift and A/B treatment-effect analysis in Python

Strengths

  • Common interface across uplift trees, meta-learners, doubly robust and neural CATE estimators
  • Benchmark loaders (LaLonde, IHDP, Twins) with SHA256-verified downloads and ground-truth metrics
  • Docs include an estimator decision guide, tutorial, quickstart and example notebooks
  • Published on PyPI with an API reference and changelog

Weaknesses

  • README warns some experimental code has APIs subject to change
  • Tabular causal estimation only; no LLM or generative model features
  • Install steps are not in the README, only linked to the docs
  • GitHub detects license as NOASSERTION, though README states Apache 2.0

What it needs

  • Models: uplift trees, meta-learners, doubly robust estimators, neural network CATE estimators

Quick answers

Is causalml open source?

Its code is public on GitHub under its own license terms; read them before you use it at work.

Also in ML frameworks and libraries

See all 126
Also in ML frameworks and libraries
RankProjectScore
1pytorchPython tensor library with GPU support and tape-based autograd for deep learning105.1k starscustom license95 out of 100
2transformersPython library defining open models for text, vision, audio and multimodal tasks168.4k starsApache-2.094 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.3k starsApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.4k starsMIT91 out of 100