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.2

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.2
File Size Uploaded Provenance Actions
xuplift-0.3.2.tar.gz 53.1 kB Without provenance Details for xuplift-0.3.2.tar.gz

Built distributions (wheels)

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

Total release size: 3.0 MB

Release files / xuplift-0.3.2.tar.gz

Download URL xuplift-0.3.2.tar.gz
Size 53.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e2a386bc72cdae69229f5211bdf38846f11dd31c5e1fb728059b0df035fac148
BLAKE2b-256 checksum
How to use checksums
31957ff845a18c075da1354969344cdc2b427c60996448db73e85a2891d74779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / xuplift-0.3.2-cp310-abi3-win_amd64.whl

Download URL xuplift-0.3.2-cp310-abi3-win_amd64.whl
Size 918.6 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7e47144c17c0c470fbe0b32d6384b0ce8392eb109e1fbd1384d76cdad28f81d6
BLAKE2b-256 checksum
How to use checksums
c5837fdbbd52696fa9c08635cd730f1a419c732b53b9b438fcea1a5276686c3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / xuplift-0.3.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL xuplift-0.3.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
8d59df08dd76a4ece4af799226942d9951c0871ea878c0823623a8563e2a543e
BLAKE2b-256 checksum
How to use checksums
78d1e094c28479b85c2d75765461d7ed4a3d1f1f5fdceefc570fc5275aa7c26c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / xuplift-0.3.2-cp310-abi3-macosx_11_0_arm64.whl

Download URL xuplift-0.3.2-cp310-abi3-macosx_11_0_arm64.whl
Size 821.0 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f438c6f3f6c140a512c8be83299b43e65f5c4fd5a9f44969abfd0f9eac544fb4
BLAKE2b-256 checksum
How to use checksums
813e01c733c5b9fff16ed4cd78e307b238e77efd3423cd095386e51178bcf753
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Security for xuplift 0.3.2

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