qmetrics.net

EconML

Python toolkit for heterogeneous causal treatment effect estimation

EconML screenshot

EconML estimates how treatment effects vary across individuals using machine learning on observational or experimental data. It unifies econometrics-style causal methods behind one Python API.

Overview

EconML is a Python package from the ALICE research effort for estimating heterogeneous treatment effects. It measures how a treatment variable affects an outcome while conditioning on features, and how that effect changes with covariates.

The library implements double machine learning, causal forests, meta-learners, doubly robust estimators, and instrumental-variable variants. Many estimators support flexible machine learning nuisances such as forests, boosting, lasso, or neural nets while retaining causal interpretations and, where enabled, valid confidence intervals.

Interpretability helpers include tree and policy interpreters for conditional average treatment effects and SHAP-style summaries. Cross-validation utilities help with first-stage model and causal model selection. Policy learning methods can recommend treatments directly from observational data.

EconML builds on familiar Python data and machine learning stacks and installs from PyPI. Documentation and notebooks cover recommendation experiments, pricing heterogeneity, and multi-treatment attribution scenarios.

Key features

  • Double machine learning estimators
  • Causal and orthogonal random forests
  • Meta-learners and doubly robust models
  • Instrumental variable estimators
  • CATE interpretability utilities
  • Offline policy learning
  • Inference with confidence intervals
  • scikit-learn compatible workflows

Use cases

  • A/B tests with imperfect compliance
  • Personalized discount sensitivity
  • Multi-treatment outreach attribution
  • Observational causal effect studies
  • Heterogeneous pricing experiments

Tags

Similar software

Causal ML

Python uplift modeling and causal inference toolkit

Causal ML estimates conditional average treatment effects from experiments or observational data using machine learning estimators.

★ 6.1k⟳ yesterdayApache-2.0

GluonTS

Probabilistic deep learning time series toolkit for Python

GluonTS trains and runs probabilistic forecasting models on time series data, centered on PyTorch backends.

★ 5.3k⟳ 1 month agoApache-2.0

lifelines

Pure Python survival analysis and reliability library

lifelines implements survival analysis in Python with parametric, semi-parametric, and non-parametric models. It handles right, left, and interval censored data and includes plotting helpers.

★ 2.6k⟳ 8 months agoMIT

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0