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.1.tar.gz (60.3 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.1-cp38-abi3-win_amd64.whl (936.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.1.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.1.1-cp38-abi3-macosx_11_0_arm64.whl (821.5 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.1.1.tar.gz
Algorithm Hash digest
SHA256 909e7338ba64b79f68c282ffae2874e926b4039d043d431f840e9c83fcf91548
MD5 62c28672873b990c04b27bb5de451df1
BLAKE2b-256 b89c040d3645fd5c864b275a218bb12989dcec0e9331a4480a1f92a32c88a9ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xuplift-0.1.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 936.6 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.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a5c98a692acfe8864cf097fe129285035ecca819584deb259959c484055921a8
MD5 1848d59e082adf781ddef46de39bdc85
BLAKE2b-256 47a22067e95f8cc58a408409a65d8adcfa055979e120059eb84434cbd0f06500

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 290e56919606ed5a0c84791f6214d20ecf6c9e5cd1652f223de687c65e90deb7
MD5 f436aaca52b8e0b8c450fb42d8c05593
BLAKE2b-256 fe8f623b10422a75daf8780363e672742dbcff638000847d56dda3d9df6fda7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f327c435a8eda2ac98a52cb179f4bcf77ffd2656d21f2c1b94abacf8ebec807
MD5 c50cc4e36f856581e59900f3b1bd4a27
BLAKE2b-256 cc6da6b617449eb1fbe1cc564ef29746b652c613f6ca5c5c112b6408fcd40a61

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