Skip to main content

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

Metadata

Release files for xuplift 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xuplift 0.3.1
File Size Uploaded Provenance Actions
xuplift-0.3.1.tar.gz 60.8 kB Without provenance Details for xuplift-0.3.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for xuplift 0.3.1
File Interpreter ABI Platform Actions
xuplift-0.3.1-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for xuplift-0.3.1-cp38-abi3-win_amd64.whl
xuplift-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for xuplift-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
xuplift-0.3.1-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for xuplift-0.3.1-cp38-abi3-macosx_11_0_arm64.whl

Total release size: 3.0 MB

Release files / xuplift-0.3.1.tar.gz

Download URL xuplift-0.3.1.tar.gz
Size 60.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2a4cff4afd2504c76fddc956a618692079c4ed1d6039f2c6647eff9359f6a241
BLAKE2b-256 checksum
How to use checksums
0134f53c3f600caf74b6efe9e0dc33dccf72b3427caa3ef710564dc80022c8b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / xuplift-0.3.1-cp38-abi3-win_amd64.whl

Download URL xuplift-0.3.1-cp38-abi3-win_amd64.whl
Size 918.8 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
16f6a109dd630afa404f3069a9c3b00c1e4f302580762d2dd24c671ac043073b
BLAKE2b-256 checksum
How to use checksums
81fdac6ebf41b467c2e1bf422c57f12afd724d6b72d1fb81c567b96648c75734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / xuplift-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL xuplift-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2a725a8adab72077398727798524f024633c62b00f21c1dad915bf9758215a43
BLAKE2b-256 checksum
How to use checksums
48d4bfc42d4efba3a7f956b95d2709c4b254665cb33ebb6c53577cf308d524d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Release files / xuplift-0.3.1-cp38-abi3-macosx_11_0_arm64.whl

Download URL xuplift-0.3.1-cp38-abi3-macosx_11_0_arm64.whl
Size 824.8 kB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3bb0936f4b90cb86b5a9c8876fd9c14281045a5d5f3955bf070d51fd114ba9f5
BLAKE2b-256 checksum
How to use checksums
a0fc2d488daabc9889e18d2a9b540d018fc4aa0eb741bd1e7576a7194ec72153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.14.1

Security for xuplift 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page