pudu

pudu: A Python library for agnostic feature selection and explainability of Machine Learning spectroscopic problems - Published in JOSS (2023)

https://github.com/pudu-py/pudu

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 6 months ago · JSON representation

Repository

A Python library for explainability of machine learinng algorithms in an agnostic, deterministic, and simple way.

Basic Info
  • Host: GitHub
  • Owner: pudu-py
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 31.6 MB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 11
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License

README.md

image Anaconda-Server Badge image CodeQL image codecov Downloads image image status

A Python library for explainability of machine learning algorithms for spectroscopic data in an agnostic, deterministic, and simple way.

  • GitHub repo: https://github.com/pudu-py/pudu
  • Documentation: https://pudu-py.github.io/pudu
  • PyPI: https://pypi.python.org/pypi/pudu
  • Conda-forge: https://anaconda.org/conda-forge/pudu
  • Free software: MIT license

Introduction

pudu is a Python package that helps interpret and explore the results of machine learning algorithms with spectroscopic data. It does this by quantifying the change in the prediction according to the change in the features. This library works with classification and regression problems with both 1-d and 2-d problems. actiIn order to see the exact procedure and format needed, please refer to the examples in the docs.

Features

The following is a list of the main features that pudu package enables.

  • Importance: measures the change in prediction according to perturbations in the features.
  • Speed: calculates how fast a prediction changes according to different perturbation levels.
  • Synergy: tests the synergy between features and the change in classification probability.
  • Re-activations: Evaluates how activations maps from CNN’s change according to perturbations in the data.
  • Easy plotting with ample personalization options for all the cases above.

Quickstart

  1. Install this library using pip::

    pip install pudu
    
  2. Install this library using conda-forge::

    conda install -c conda-forge pudu
    
  3. Test it by running one of the examples in the docs.

  4. If you find this library useful, please consider a reference or citation as::

    @misc{Grau-Luque2023Pudu,
    author = {E. Grau-Luque, I. Becerril-Romero, A. Perez-Rodriguez, M. Guc, V. Izquierdo-Roca},
    title = {pudu},
    year = {2023},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/pudu-py/pudu}},
    }
    
  5. Stay up-to-date by updating the library using::

    conda update pudu pip install --update pudu

  6. If you encounter problems when updating, try uninstalling and then re-installing::

    pip uninstall pudu
    conda remove pudu
    

Credits

This package was created with Cookiecutter and the giswqs/pypackage project template.

JOSS Publication

pudu: A Python library for agnostic feature selection and explainability of Machine Learning spectroscopic problems
Published
December 12, 2023
Volume 8, Issue 92, Page 5873
Authors
Enric Grau-Luque ORCID
Catalonia Institute for Energy Research (IREC), Jardins de les Dones de Negre 1, 08930 Sant Adrià de Besòs, Spain.
Ignacio Becerril-Romero ORCID
Catalonia Institute for Energy Research (IREC), Jardins de les Dones de Negre 1, 08930 Sant Adrià de Besòs, Spain.
Alejandro Perez-Rodriguez ORCID
Catalonia Institute for Energy Research (IREC), Jardins de les Dones de Negre 1, 08930 Sant Adrià de Besòs, Spain., Departament d'Enginyeria Electrònica i Biomèdica, IN2UB, Universitat de Barcelona, C/ Martí i Franqués 1, 08028 Barcelona, Spain.
Maxim Guc ORCID
Catalonia Institute for Energy Research (IREC), Jardins de les Dones de Negre 1, 08930 Sant Adrià de Besòs, Spain.
Victor Izquierdo-Roca ORCID
Catalonia Institute for Energy Research (IREC), Jardins de les Dones de Negre 1, 08930 Sant Adrià de Besòs, Spain.
Editor
Arfon Smith ORCID
Tags
Spectroscopy Machine Learning Explainability and intepretability Classification and regression

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 110
  • Total Committers: 4
  • Avg Commits per committer: 27.5
  • Development Distribution Score (DDS): 0.473
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
enricgrau p****c@g****m 58
Enric Tomas Grau Luque e****u@i****t 39
Enric Grau e****c@l****m 8
jongari7 j****i@i****t 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 4
  • Total pull requests: 1
  • Average time to close issues: 23 days
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 2.75
  • Average comments per pull request: 3.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 3.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • hbaniecki (2)
  • aksholokhov (1)
  • enricgrau (1)
Pull Request Authors
  • jongari7 (3)
Top Labels
Issue Labels
bug (2)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 25 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 10
  • Total maintainers: 1
pypi.org: pudu

A Python library for explainability of machine learinng algorithms in an agnostic, deterministic, and simple way.

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 25 Last month
Rankings
Dependent packages count: 6.6%
Average: 24.4%
Downloads: 26.0%
Stargazers count: 28.2%
Forks count: 30.5%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • matplotlib *
  • numpy *
  • pandas *
  • spectrapepper *
requirements_dev.txt pypi
  • Sphinx * development
  • bump2version * development
  • coverage * development
  • flake8 * development
  • grip * development
  • pip * development
  • tox * development
  • twine * development
  • watchdog * development
  • wheel * development
setup.py pypi
  • x.strip *
.github/workflows/build.yml actions
  • actions/checkout v3.1.0 composite
  • actions/setup-python v4.3.0 composite
.github/workflows/codecov.yml actions
  • actions/checkout v3.1.0 composite
  • actions/setup-python v4.3.0 composite
  • codecov/codecov-action v3.1.1 composite
.github/workflows/codeql.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/docs.yml actions
  • actions/checkout v3.1.0 composite
  • actions/setup-python v4.3.0 composite
.github/workflows/pypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/updater.yml actions
  • actions/checkout v3.1.0 composite
  • saadmk11/github-actions-version-updater v0.7.1 composite
examples/examples_requirements.txt pypi
  • lime *
  • localreg *
  • pickle *
  • spectrapepper *
pyproject.toml pypi