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

  • DRClassifier, DRRegressor: Doubly robust estimator combining propensity scores and outcome models.
  • GRClassifier, GRRegressor: Generalized R-learner supporting both continuous and binary treatments.
  • MRegressor: Modified covariates learner optimized for randomized controlled trials (RCT).
  • PWRegressor: Propensity score weighted learner using inverse probability weighting.
  • RClassifier, RRegressor: Residual learner minimizing an R-objective via residual-on-residual regression.
  • SClassifier, SRegressor: Single learner treating treatment assignment as a standard feature.
  • TClassifier, TRegressor: Two learner approach fitting independent models for each group.
  • XClassifier, XRegressor: 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.3.1.tar.gz (60.8 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.3.1-cp38-abi3-win_amd64.whl (918.8 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.3.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.3.1-cp38-abi3-macosx_11_0_arm64.whl (824.8 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2a4cff4afd2504c76fddc956a618692079c4ed1d6039f2c6647eff9359f6a241
MD5 8f806f40f5dd57a86e1b7b547e7d1ec4
BLAKE2b-256 0134f53c3f600caf74b6efe9e0dc33dccf72b3427caa3ef710564dc80022c8b7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.3.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 16f6a109dd630afa404f3069a9c3b00c1e4f302580762d2dd24c671ac043073b
MD5 8c3f618372e409e33b4d8776bf8e95ee
BLAKE2b-256 81fdac6ebf41b467c2e1bf422c57f12afd724d6b72d1fb81c567b96648c75734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a725a8adab72077398727798524f024633c62b00f21c1dad915bf9758215a43
MD5 1d98566240ae564d18273eff81bdee4f
BLAKE2b-256 48d4bfc42d4efba3a7f956b95d2709c4b254665cb33ebb6c53577cf308d524d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.3.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3bb0936f4b90cb86b5a9c8876fd9c14281045a5d5f3955bf070d51fd114ba9f5
MD5 412cbf55ab1f8255ea36baa1bec241d6
BLAKE2b-256 a0fc2d488daabc9889e18d2a9b540d018fc4aa0eb741bd1e7576a7194ec72153

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