A Python library for explainability of machine learinng algorithms in an agnostic, deterministic, and simple way.
Project description
A Python library for explainability of machine learinng algorithms 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 intepret and explore the results of machinme learning algorythms. It does this by quantifying the change
in probability according to the change in the features. This library works with any case that has a probability function, which is normally available in scikit-learn
and keras
methods, and works for both 1-d (vectrors) and 2-d problems (images). In 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 procedures that pudu package enables.
- Importance: estimates the absolute or relative importance of the features.
- Speed: calculates how fast a preditcion changes according to the changes in the features.
- Synergy: tests the synergy between features and the change in classification probability.
- Easy plotting of the results from the above.
Quickstart
-
Install this library using
pip
::pip install pudu
-
Install this library using
conda-forge
::conda install -c conda-forge pudu
-
Test it by running one of the examples in the
docs
. -
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}}, }
-
Stay up-to-date by updating the library using::
conda update pudu pip install --update pudu
-
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pudu-0.3.2.tar.gz
.
File metadata
- Download URL: pudu-0.3.2.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6803e3f29a83bbb03c9af58d27c1933b3cf7c8dbbd6730ad6a225945be25c562 |
|
MD5 | f11f5d0e8b2f7e008b234fefc7fcb76b |
|
BLAKE2b-256 | 9bf9257938e740b14ddc1e5b6c01ad6f85c64340843bdd6d585094079207cb1f |
File details
Details for the file pudu-0.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pudu-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b667bfaaaa076706e3d678485527ae88189939c34de0bdc14dcc8b5cf448ad61 |
|
MD5 | 97085c5f227b0aa45bff3f93bb6ea861 |
|
BLAKE2b-256 | 3293fedbf67c26bd2962d85c836398277471d01054e0a6551e0bca95bc63a1ca |