An implementation of SI-QPOT: Statistical Inference for Quadratic Programming-based Feature Selection after Optimal Transport-based Domain Adaptation
Project description
SI-QPOT: Statistical Inference for Quadratic Programming-based Feature Selection after Optimal Transport-based Domain Adaptation
SI-QPOT is a Python package that implements a selective inference (SI) framework for conducting valid statistical inference after QP-based Feature Selection algorithms 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 FS-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 si_qpot
Usage
We provide several Jupyter notebooks demonstrating how to use the stand-da package in action.
- Examples for conducting inference for QP-based Feature Selection after OT-based DA
>> ex1_feature_selection_after_DA.ipynb
- Check the uniformity of the pivot
>> ex2_validity_of_p_value.ipynb
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SI_QPOT-0.1.0.tar.gz.
File metadata
- Download URL: SI_QPOT-0.1.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b434901fad9350808357cb6b0cfa75b7f99ae75f687569bc5217753c60988775
|
|
| MD5 |
142232ed8ca524214a3361e6a1cf109f
|
|
| BLAKE2b-256 |
1289567b822dba0bd04080f463c2cdf0cda77b7abd75ba0af5d2940e7a14f90b
|
File details
Details for the file SI_QPOT-0.1.0-py3-none-any.whl.
File metadata
- Download URL: SI_QPOT-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
332938eaaa4b5f46035c1502ce9ec2ec58b1d8dcae913b54fde794e92977f415
|
|
| MD5 |
1751a941c1db58ae268908c80554471a
|
|
| BLAKE2b-256 |
bbdaf2ec059f6dba6f47744fa15035b017887afbaa8f1ad18ffb083298cc4ed3
|