Skip to main content

PySelectInf: Python Selective Inference

PyPI version License

This open source Python library provides APIs for selective inference for problems in machine learning such as feature selection, anomaly detection and domain adaptation.

Website and documentation: https://pythonsi.github.io/

Source code (MIT): https://github.com/PythonSI/PySelectInf

Implemented Features

PySelectInf have provide selective inference support for methods:

  • Feature Selection:
    • Lasso Feature Selection
    • Sequential Feature Selection
  • Domain Adaptation:
    • Optimal Transport-based Domain Adaptation

Installation

The library has only been tested on Windows with Python 3.10. It requires some of the following modules:

  • numpy (=2.2.6)
  • mpmath (=1.3.0)
  • POT (==0.9.5)
  • scikit-learn( ==1.7.1)
  • scipy (==1.15.3)

Note: Other versions of Python and dependencies shall be tested in the future.

Pip Installation

You can install the toolbox through PyPI with:

pip install pyselectinf

Post installation check

After a correct installation, you should be able to import the module without errors:

import pythonsi

Note that for easier access the module is named pythonsi instead of pyselectinf.

Examples and Notebooks

The examples folder contain several examples and use case for the library. The full documentation with examples and output is available on https://PythonSI.github.io/.

Metadata

Release files for pyselectinf 0.0.1.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyselectinf 0.0.1.post2
File Size Uploaded Provenance Actions
pyselectinf-0.0.1.post2.tar.gz 19.0 kB Without provenance Details for pyselectinf-0.0.1.post2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyselectinf 0.0.1.post2
File Interpreter ABI Platform Actions
pyselectinf-0.0.1.post2-py3-none-any.whl Python 3 none any Details for pyselectinf-0.0.1.post2-py3-none-any.whl

Total release size: 84.7 kB

Release files / pyselectinf-0.0.1.post2.tar.gz

Download URL pyselectinf-0.0.1.post2.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a9d913b338c17319ecb550d6247eb2135008d0f5f29b2acddc9ab455e618bf8a
BLAKE2b-256 checksum
How to use checksums
87e12a59012a5083083718200ae87aaa91b4eaf585483df9495784d31e5d6fc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release files / pyselectinf-0.0.1.post2-py3-none-any.whl

Download URL pyselectinf-0.0.1.post2-py3-none-any.whl
Size 65.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df2706228db4bfd18fe84b400172c593dc28c48ccfc090d349678c6224f10005
BLAKE2b-256 checksum
How to use checksums
ca66b7b7cd7ad8f8d65f1089efa072d2646c78df24f58c043021de7ee7b1cc9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Security for pyselectinf 0.0.1.post2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page