Skip to main content

No project description provided

Project description

Post-Selection Inference for Generalized Lasso after Optimal Transport-based Domain Adaptation

PSI-GLAD is a Python package that implements a selective inference (SI) framework for conducting valid statistical inference after generalized lasso (GL) in the presence of domain adaptation (DA). The main idea is to leverages the SI framework and employs a divide-and conquer approach to efficiently compute the $p$ -value. Our proposed methods provides valid $p$-value for GL-DA results, by keeping the false positive rate (FPR) under control, while also maximizing the true positive rate (TPR), i.e., lowering the false negative rate (FNR).

Requirements

This package has the following requirements:

cvxpy
mpmath
numpy
POT
scikit-learn
scipy

Installation

Package Installation

This package can be installed using pip:

$ pip install psi_glad

Usage

We provide several Jupyter notebooks demonstrating how to use the stand-da package in action.

  • Examples for conducting inference for Feature Selection/Change Point Detection-based Generalized Lasso after OT-based DA
>> ex1_feature_selection_after_DA.ipynb
>> ex2_change_point_detection_after_DA.ipynb
  • Check the uniformity of the pivot
>> ex3_validity_of_p_value.ipynb

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

PSI_GLAD-0.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PSI_GLAD-0.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file PSI_GLAD-0.1.tar.gz.

File metadata

  • Download URL: PSI_GLAD-0.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for PSI_GLAD-0.1.tar.gz
Algorithm Hash digest
SHA256 6e9cedef1a1bd7ca9430bfbc96d7cd5d5d0f5c220d80df7cc5a3513b917705e3
MD5 8013d997e1591805da6ca33a40358454
BLAKE2b-256 aa9f7a263f44b05b2afb524939406dc059c02bb193a17513c704f86ffb601df6

See more details on using hashes here.

File details

Details for the file PSI_GLAD-0.1-py3-none-any.whl.

File metadata

  • Download URL: PSI_GLAD-0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for PSI_GLAD-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b56b5d8c3fa078d14d5191da21865a085c61ed83dd882709c48dae04d5ecc66
MD5 8acd74a9a6050fa98356c8de503f0428
BLAKE2b-256 8bce851811943143eccd52f4469bc43f9896bfc1a40bbe29bb78b04572882207

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