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

  • 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

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.3.0.tar.gz (62.1 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.3.0-cp38-abi3-win_amd64.whl (946.3 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.3.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.3.0-cp38-abi3-macosx_11_0_arm64.whl (847.0 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e3053e3a3cf758850a7a304f138f7de3b9a0a2d70693c854b01d9bb5e3a3300e
MD5 2191fd4eb33adc56faf4c2d9489def10
BLAKE2b-256 983e7af52927206d92cc5f68b6a9bd2d8c3f26fda1a5bc550d82cb87042da6c9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.3.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8721bb1e3282ecb3123ee1ca3e4632da9ded5463c077eefdff2dbe0edb6a31d2
MD5 a7dc70023c02328c2bd7c94e7347e4f1
BLAKE2b-256 234a5f3094e388938ea8e4b1fffe026234bff2ec29e40b6942d74c0a97ca8e1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.3.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dcaf4c2260966b3ca8e00b7d87a8a7fec9d1407a680c49f395e7f8a8d2ce4b88
MD5 03dbac112e270efb5686cc8ee92a5eec
BLAKE2b-256 0de3dce19b59ac5d5c7bccebdbba55a2d1d07886e17a233eace2749d7591744c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.3.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 624c0a505bba303d26f0c44f7a1b97ef9bc4e3c7e8f2cab5b700be0aadc0ace1
MD5 1589aea0dade0119f9028244f44e34fc
BLAKE2b-256 8923c8e519b9e6f9d42ed4ac8510c7ce3c7733596f1836c0b6105f2a4d3841d7

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