Skip to main content

Automated Conditional Average Treatment Effect Estimation

Project description

AutoCATE Logo

AutoCATE: End-to-End, Automated Treatment Effect Estimation

— AutoML for causal effect estimation —

AutoCATE is an open-source Python package for automated, end-to-end estimation of Conditional Average Treatment Effects (CATE). Designed to simplify the complexities of causal inference, AutoCATE enables practitioners and researchers to quickly build robust ML pipelines for causal effect/heterogeneous treatment effect estimation in only four lines of code.

✨ Key Features

✔️ Automated ML Pipelines: Automatically builds pipelines and handles preprocessing, ML algorithm selection, hyperparameter optimization, and ensembling.

✔️ Custom Evaluation Protocols: Incorporates different risk measures (e.g., DR-risk, T-risk) and risk metrics (e.g., AUQC) tailored for causal inference.

✔️ Low-Code API: Effortlessly predict treatment effects with minimal setup.

📦 Installation

Install directly from PyPI:

pip install autocate

Requires Python ≥ 3.8.

🛠 Quick start

from autocate import AutoCATE

# Initialize AutoCATE
autocate = AutoCATE()

# Fit model on training data
autocate.fit(X_train, t_train, yf_train)

# Predict CATE for new data
cate_pred = autocate.predict(X_test)

⚙️ How It Works

AutoCATE operates in three stages:

1️⃣ Evaluation: Optimize the ML pipelines underlying the risk measure(s) (e.g., R-risk) for robust pipeline selection.

2️⃣ Estimation: Optimizing ML pipelines for CATE estimation, combining preprocessors, metalearners, and baselearners.

3️⃣ Ensembling: Combines the top-performing pipelines to create a final model.

❓ Why Choose AutoCATE?

Estimating causal effects requires dealing with unique challenges 🚨

❌ Evaluation is a challenge due to lack of ground truth CATE and covariate shift caused by confounding variables.

❌ Causal metalearners combine different ML algorithms and are complex to tune.

❌ No clear, established practices for preprocessing and ensembling.

AutoCATE eliminates these barriers by automating the entire process, making state-of-the-art CATE estimation accessible for everyone.

📄 License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autocate-0.1.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autocate-0.1.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file autocate-0.1.0.tar.gz.

File metadata

  • Download URL: autocate-0.1.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.8

File hashes

Hashes for autocate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f288b5d4443691dda6942a43ca8e603a88b2568847c04e7bd88883dcd12f7e75
MD5 c1980988f60cd4056fcf410d8e27fd2e
BLAKE2b-256 712093ce0ad3501b0a682cc4a2845db1121f81afa9665f5682835e6ef568a4ed

See more details on using hashes here.

File details

Details for the file autocate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: autocate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.8

File hashes

Hashes for autocate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58c348976a03c3a06edebed9715af47c03ac58f69f3c040eb0c45a13efbcdb62
MD5 b6011a6755328173492bb9cee36e8a7f
BLAKE2b-256 2b80b9eea54921084d8d219666ebe27ffc9eeecf79825f7042cc4d1fd83549d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page