Skip to main content

Explainable uplift modeling via linearized kernel feature maps.

Project description

xuplift is a library for explainable uplift modeling. It uses linearized kernel feature maps to estimate treatment effects with both speed and mathematical rigor. Instead of computing a massive $N \times N$ kernel matrix, xuplift selects landmark points to project data into a finite-dimensional feature space.

Supported Models

  • Regressor: Kernel-based Ridge regressor for outcome and residual modeling.
  • Classifier: Kernel-based Logistic classifier for precise propensity score estimation.

Supported Meta-Learners

  • DRLearner: Doubly robust estimator combining propensity scores and outcome models.
  • GRLearner: Generalized R-learner supporting both continuous and binary treatments.
  • MLearner: Modified covariates learner optimized for randomized controlled trials (RCT).
  • PWLearner: Propensity score weighted learner using inverse probability weighting.
  • RLearner: Residual learner minimizing an R-objective via residual-on-residual regression.
  • SLearner: Single learner treating treatment assignment as a standard feature.
  • TLearner: Two learner approach fitting independent models for each group.
  • XLearner: Cross learner optimized for significantly unbalanced treatment groups.

Installation

pip install xuplift

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

xuplift-0.2.1.tar.gz (62.9 kB view details)

Uploaded Source

Built Distributions

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

xuplift-0.2.1-cp38-abi3-win_amd64.whl (903.7 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.2.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

xuplift-0.2.1-cp38-abi3-macosx_11_0_arm64.whl (805.7 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file xuplift-0.2.1.tar.gz.

File metadata

  • Download URL: xuplift-0.2.1.tar.gz
  • Upload date:
  • Size: 62.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.14.0

File hashes

Hashes for xuplift-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9ade5665873e329900666c3e2099dd405f0ad022925cff0659c16fcb4d0d6af1
MD5 f60ad291c139d5b695ae851c1b0fcb60
BLAKE2b-256 3ee2f04c52ae209910dce49247e9685846f455fb07c31f695a8c0a9c8d8f0bea

See more details on using hashes here.

File details

Details for the file xuplift-0.2.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: xuplift-0.2.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 903.7 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.14.0

File hashes

Hashes for xuplift-0.2.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ec05a339a69bc0931b5326dba3d295a20743b300a606f6e184cf48de67f8c17b
MD5 86e57fefd602418240bdd68be27f716a
BLAKE2b-256 4e141dd9686bddedb2e64100d4a39a9294ec1569a8505fa0b727a1c45833bc26

See more details on using hashes here.

File details

Details for the file xuplift-0.2.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for xuplift-0.2.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98139f2cc2f5c52a0d5d36720c053b3a72e69d3fec4b615f3a9ecb752e5d87f6
MD5 695f270f43a8941774f9a927d0d55dfc
BLAKE2b-256 f81454cf1526ff02e748a6c55b6a49bdd8c78a81c24e696948a61456c3288514

See more details on using hashes here.

File details

Details for the file xuplift-0.2.1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xuplift-0.2.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0fbfa53b30d988f3afc45d2983ad4dcc5c53808fb83d47907d6bbaae3e3c568f
MD5 9c909670692d7d568d942ff3c50af942
BLAKE2b-256 c9d3afcf1b9f8b149d958b203d97816219400542e76cb79fbc1ab850a519e044

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