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

  • DRLearner: Doubly robust estimator combining propensity scores and outcome models.
  • GRLearner: Generalized R-learner supporting both continuous and binary treatments.
  • MLearner: Modified covariates learner optimized for randomized controlled trials (RCT).
  • PWLearner: Propensity score weighted learner using inverse probability weighting.
  • RLearner: Residual learner minimizing an R-objective via residual-on-residual regression.
  • SLearner: Single learner treating treatment assignment as a standard feature.
  • TLearner: Two learner approach fitting independent models for each group.
  • 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.3.tar.gz (62.0 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.3-cp38-abi3-win_amd64.whl (918.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.1.3-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.3-cp38-abi3-macosx_11_0_arm64.whl (811.1 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.1.3.tar.gz
Algorithm Hash digest
SHA256 82f595ad7fbda596ab795e824a08362f64e2ad8687f1d5713b9b851be4ddd262
MD5 c032d03a233c45bde8fa0c60de206b94
BLAKE2b-256 ad980ff6d382b747774369dc4fe54e3f72b3b1e66b3bfba4a875837bf51530d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xuplift-0.1.3-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 918.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.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f5926c320f7895c33afdb60231071bd1aed6604ab087335385475c9daf2977c1
MD5 17cbb5b984c9e032d130477974696bd9
BLAKE2b-256 9f25d06dd91e35f54e2cbf038ba272364a5ded893e64a49cc97a3deb91db6d9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c08fed60159cdc907c0ee1986a8b098494833af4c583899de3ed609f29af7d5
MD5 7a7d02cf493be5023dbb31ade594d18a
BLAKE2b-256 ab06207a3e1c4bde4f41215fbbc26dc255c626d04301c2f8f979a5e746757998

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eae90ee8b256ba1ccae856219639000a3be91c99c788475ed309c9e28181914d
MD5 a3d54476e1cdd60a6ec3c03dbb5703ae
BLAKE2b-256 3ce283e6beb7182d3df7e2fdc86f231fc539d6e76bfdf551fc853d8b104ca41f

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