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

  • RLearner: Residual-on-residual estimator.
  • SLearner: Single-learner approach treating treatment as a feature.
  • TLearner: Two-learner approach for baseline causal analysis.
  • 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.0.tar.gz (59.4 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.0-cp38-abi3-win_amd64.whl (943.5 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

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

xuplift-0.1.0-cp38-abi3-macosx_11_0_arm64.whl (827.3 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f3f0e5f11e179e3c89bcde791bda52be45b4ce4151a95e5990c8b0d564f80cf
MD5 e7c3bbd478df693c1517280a7a83ead5
BLAKE2b-256 fb314cb1e01ebc8a37be9c89adb808437ef62c569e3d30e8c6b6fa8c2c82d317

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xuplift-0.1.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 943.5 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.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 13d3949569c760e63d2d3e84e5ee278dfacd779759c57e136a8f7f8cb21f2f80
MD5 aa398586eed3b7a9f57f42f0148ab13e
BLAKE2b-256 46ac03c2e03986110fb18d60b01ce8c9f32ff1671d698b87b8e70950289847c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4460ab31b93edf253d7881d571bc66a37b3c71ac56ae35bc3323d7ff55ab586d
MD5 f8ba04d07ef9638f5703968ae9becbb1
BLAKE2b-256 8bf51d94dc8f8259deed1653850f2edabb544c2b338b5bfed02d1056b524ff11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2158db7f50b2c9aad90cc3b200cd495100baf1325e6fc8b865b01800cd168843
MD5 e4a6807baf26d580563357b6492d59a1
BLAKE2b-256 4dbceaaf19bce8dfa6109dca73aa0bd760de989a50685ed26bc46c155315897c

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