Skip to main content

A package for Statistical Inference for Feature Selection after OT-based Domain Adaptation

Project description

Statistical Inference for Feature Selection after Optimal Transport-based Domain Adaptation (AISTATS 2025)

This package implements a statistical inference for feature selection (FS) after optimal transport-based domain adaptation (OT-based DA). The main idea is to leverages the SI framework and employs a divide-and conquer approach to efficiently compute the $p$-value. By providing valid $p$-values for the selected features, our proposed method not only controls the false positive rate (FPR) in FS under DA but also maximizes the true positive rate (TPR), i.e., reducing the false negative rate (FNR). We believe this study represents a significant step toward controllable machine learning in the context of DA.

See the paper https://arxiv.org/abs/2410.15022 for more details.

Installation & Requirements

This package has the following requirements:

We recommend to install or update anaconda to the latest version and use Python 3 (We used Python 3.12.3).

NOTE: We use scipy package (version 1.13.1) to solve the linear program (simplex method). However, the default package does not return the set of basic variables. Therefore, we slightly modified the package so that it can return the set of basic variables by replacing the two files '_linprog.py' and '_linprog_simplex.py' in scipy.optimize module with our modified files in the folder 'files_to_replace' at https://github.com/NT-Loi/SFS_DA.git.

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

sfs_da-1.0.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

sfs_da-1.0.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file sfs_da-1.0.0.tar.gz.

File metadata

  • Download URL: sfs_da-1.0.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for sfs_da-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bae2127e140f8b7f632fc6b032bd1c1cd6be51c75dd7e57e47850a0581a2cb28
MD5 b8d34c32599ae9a3c06d6cae80364cce
BLAKE2b-256 9dc14053b963b35a606339c7d189118c7406290055014b9f35cadd992a6f0fd1

See more details on using hashes here.

File details

Details for the file sfs_da-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sfs_da-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for sfs_da-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c3df62069efa62d8ad9ac87514e21f27b5f7eedc8bbbc6d66d9f5daa8bd507
MD5 e687feb83784c95d38084b3a12274895
BLAKE2b-256 f1e555269dce0edb8a4742250a5c98416f15b5baecf808a15d85a7f8c84796cd

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