Skip to main content

No project description provided

Project description

PSI: 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/PSI

Implemented Features

PSI 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 si

Note that for easier access the module is named si instead of psi.

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/.

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

pyselectinf-0.0.1.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

pyselectinf-0.0.1-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file pyselectinf-0.0.1.tar.gz.

File metadata

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

File hashes

Hashes for pyselectinf-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1e5ba53ab179817cce77f034274adb82128d9d4a6fde619d5fb95cf081f699c5
MD5 def9d319d8fd164f0c1cdce98285d29f
BLAKE2b-256 b64ab23adbab8665729a723fdcf4e3d1023e18ec51445ba4d83b4f6d15930de5

See more details on using hashes here.

File details

Details for the file pyselectinf-0.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pyselectinf-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 008d883488e2081c47418aa544c6f074a2f396244c059a478a28bbfff032a64f
MD5 c9b0876bba9a78717f960ecbdd10630c
BLAKE2b-256 604215f0e81978d0ccd5644d523ee0d599aecc7968e261aa1e79dd9d83529e0e

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