Skip to main content

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.

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.

Metadata

Release files for pudu 0.3.4

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

Source distribution (sdist)

Source distribution for pudu 0.3.4
File Size Uploaded Provenance Actions
pudu-0.3.4.tar.gz 20.7 kB Without provenance Details for pudu-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pudu 0.3.4
File Interpreter ABI Platform Actions
pudu-0.3.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for pudu-0.3.4-py2.py3-none-any.whl

Total release size: 38.8 kB

Release files / pudu-0.3.4.tar.gz

Download URL pudu-0.3.4.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7eb0c21a966b0e960e6bc277783c03439a5065280095409b2ad52be695c9811b
BLAKE2b-256 checksum
How to use checksums
ee0a3eaf9b31891b7599b90f8b00369746b357373cc68d92af3a221e843c776e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / pudu-0.3.4-py2.py3-none-any.whl

Download URL pudu-0.3.4-py2.py3-none-any.whl
Size 18.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
858832dd4ffd5e3ced7df87340ea4f28861a8476f68a3954a239a30247bd586b
BLAKE2b-256 checksum
How to use checksums
0db6bbeed8d36a0445e8bdbc648283f87ec13555c5bd4fb6457d51cfe3922c53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for pudu 0.3.4

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