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.1.2.tar.gz (61.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.1.2-cp38-abi3-win_amd64.whl (920.1 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.1.2-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.1.2-cp38-abi3-macosx_11_0_arm64.whl (812.6 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6414637665b38ec7487ca39cd6128e9fa1d677f2831bdf56bdce4ac673e0e0e3
MD5 fc24d450230054c58c9565996ea12f8c
BLAKE2b-256 77af702d270a37fd752c1ba2a9bfd6c800eb7afce7c73890b0d48868550d23d0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.1.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1c5e63727e1110aec5f72845c9a31b747550a22f879a08f0a05c6a74c5862903
MD5 863e4a74a7496da4a3d06f9b70dfab2b
BLAKE2b-256 0793bec26e5cf568ccbd2884eadf0ef64d5e71db2973b6a1e2991545fe179d95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a70f2823593c301c8bce434e54c82044e5b11483ac5dde59bf64825681cdc34
MD5 b8e06146ee4e11d87f0ab092d259ecee
BLAKE2b-256 a5383d735e7517a77758c38728f11114484f88bcc0497b9f06a53f01da41f83f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7506908524790fd1d0d8a02a09eb09d26fa3d12bf1b0a3b3647a014145c28194
MD5 eb36b23112d62f44b6d60217a9d9c6d6
BLAKE2b-256 a24aadd5fba90d2aac1d3ea50bc4e42be736cb171d051b0f2450bd38dd922e12

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