Skip to main content

Implementation of Feature Relevance Bounds method to perform Feature Selection and further analysis.

Project description

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.

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

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

fri-8.0.2.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

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

fri-8.0.2-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file fri-8.0.2.tar.gz.

File metadata

  • Download URL: fri-8.0.2.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.7.7 Linux/5.3.0-1028-azure

File hashes

Hashes for fri-8.0.2.tar.gz
Algorithm Hash digest
SHA256 702641f13d1de7b4fe50b5db20a634b75254ac70ebc313d5c31981afb15c9abb
MD5 4bc10959677a5bf91ad3b8d638f247bd
BLAKE2b-256 70269927eab9ba390722083801c5c3f61fa30907abb814fa098df1fa1293c05a

See more details on using hashes here.

File details

Details for the file fri-8.0.2-py3-none-any.whl.

File metadata

  • Download URL: fri-8.0.2-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.7.7 Linux/5.3.0-1028-azure

File hashes

Hashes for fri-8.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9640439605db091310fa682ed770f101b0265904509cc8a2df9132924bcc9c42
MD5 a678a13f1a8650521d6278e16ff2e07d
BLAKE2b-256 2c8f20ca63bc17bc59903e06eb3e29757ef0b78e2c54e99ac212231a22e695a0

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