Skip to main content

Feature Relevance Intervals - FRI

Feature Relevance Intervals - FRI

Travis (.org) Coveralls github DOI Open In Colab PyPI PyPI - Python Version GitHub

FRI is a Python 3 package for analytical feature selection purposes. It allows superior feature selection in the sense that all important features are conserved. At the moment we support multiple linear models for solving Classification, Regression and Ordinal Regression Problems. We also support LUPI paradigm where at learning time, privileged information is available.

Usage

Please refer to the documentation for advice. For a quick start we provide a simple guide which leads through the main functions.

Installation

FRI requires Python 3.6+.

For a stable version from PyPI use

$ pip install fri

or with new versions of pip (>=19?) you can clone the repository and run

$ pip install .

in the folder on the master or dev branch.

Documentation

Check out our online documentation here. There you can find a quick start guide and more background information.

You can also run the guide directly online without setup here.

Development

For dependency management we use the newly released poetry tool.

If you have poetry installed, use

$ poetry install

inside the project folder to create a new venv and to install all dependencies. To enter the newly created venv use

$ poetry env

to open a new shell inside. Or alternatively run commands inside the venv with poetry run ....

Docs

The documentation is compiled using portray. If the dependencies are installed with poetry install you should be able to run

$ poetry run portray in_browser

to compile the files into html and launch a browser to preview changes.

(Be sure not to mix up poetry != portray.)

The documentation files are generated from Python docstrings inside the source files and from Markdown located in the docs folder.

Releases

To create a new release:

  1. Create a new GitHub release with a version tag (e.g., v8.2.0 or 8.2.0)
  2. The version will be automatically extracted from the tag and updated in pyproject.toml
  3. The package will be built and published to PyPI automatically via GitHub Actions

References

[1] Göpfert C, Pfannschmidt L, Hammer B. Feature Relevance Bounds for Linear Classification. In: Proceedings of the ESANN. 25th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning; https://pub.uni-bielefeld.de/publication/2908201

[2] Göpfert C, Pfannschmidt L, Göpfert JP, Hammer B. Interpretation of Linear Classifiers by Means of Feature Relevance Bounds. Neurocomputing. https://pub.uni-bielefeld.de/publication/2915273

[3] Lukas Pfannschmidt, Jonathan Jakob, Michael Biehl, Peter Tino, Barbara Hammer: Feature Relevance Bounds for Ordinal Regression. Proceedings of the ESANN. 27th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning; Accepted. https://pub.uni-bielefeld.de/record/2933893

[4] Pfannschmidt L, Göpfert C, Neumann U, Heider D, Hammer B: FRI - Feature Relevance Intervals for Interpretable and Interactive Data Exploration. Presented at the 16th IEEE International Conference on Computational Intelligence in Bioinformatics and Computational Biology, Certosa di Pontignano, Siena - Tuscany, Italy. https://ieeexplore.ieee.org/document/8791489

Release files for fri 9.0.0

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

Source distribution (sdist)

Source distribution for fri 9.0.0
File Size Uploaded
fri-9.0.0.tar.gz 28.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fri 9.0.0
File Interpreter ABI Platform
fri-9.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.6 kB

Release files / fri-9.0.0.tar.gz

Download URL fri-9.0.0.tar.gz
Size 28.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5ff2766432707f390c9c1785227b20e1b919dc966e210916cccd8a75469840a0
BLAKE2b-256 checksum
How to use checksums
ca6466d5e813cf5bc1d50214efc27fec406251f37519715772457c80f7e6fae9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

Release files / fri-9.0.0-py3-none-any.whl

Download URL fri-9.0.0-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d18a14a88bc7cb7a7573bcf1f894096a3697f85f8545b279595e016c0c39049
BLAKE2b-256 checksum
How to use checksums
6d675a701f365f920bca240658928cc2e56d0323e747a14038593ad48a9bbc40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

Release history Release notifications | RSS feed

This release

9.0.0 This release

2 release files

8.1.0

2 release files

8.0.2

2 release files

8.0.1

2 release files

8.0.0

2 release files

7.2.0

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.0.0

1 release file

5.1.0

1 release file

5.0.0

1 release file

4.1.1

1 release file

4.1.0

1 release file

4.0.0

1 release file

3.4.0

1 release file

3.3.1

1 release file

3.2.0

1 release file

3.1.1

1 release file

3.0.2

1 release file

3.0.1

1 release file

2.0.0

1 release file

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