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.2.0.tar.gz (62.7 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.2.0-cp38-abi3-win_amd64.whl (909.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

xuplift-0.2.0-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.2.0-cp38-abi3-macosx_11_0_arm64.whl (814.7 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5d6d1d124ba3637722a84fa344caf3c8ff1609377a89379222864ab44364e80b
MD5 0ac419ec9f79ba7313ed10aadae072c8
BLAKE2b-256 c2399fccf67389d749da9bcda469f1c1438931ea6a7d64cf5ed1a8cc4ea30ca3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xuplift-0.2.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e5af0c9b5a4f28fd7635ed06edfe35323b7cc63b6403aafa70a5bbd82755927d
MD5 4183a75c6f911af4898ca514440ee59b
BLAKE2b-256 e40f77e6166ba6cee21b9a7b6a06cc3da84f84dff491248f235577a06952e049

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eaa7ed6522efd655ba5d94f14179fa40826141ba3fb90405fa9e71a5fe6b8e16
MD5 4c05c3c8b401bc901d0c39f873f1c27e
BLAKE2b-256 ad92a544cb70d173645f30f383289ad50337ecce516ae5ecd07ce67a2285bdac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xuplift-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d941be8b160c62b183379e79d21722e1e742738c88bfc9bbb3f3b03a2635feca
MD5 938e12e6c4259df6879636961149e0d0
BLAKE2b-256 6c31d3551e6d9a8875e901036c9004c90c817cd9e8a247d59aec380564825b44

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