Skip to main content

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

Project description

image image image CodeQL image codecov Downloads image image

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

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 oif the features.
  • Speed: calculates how fast a preditci0on changes according to the changes in the features.
  • Synergy: tests teh synergy between features and the change in classification probability.
  • Easy plotting of the results from the 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:

     ...
    
  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.

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

pudu-0.0.5.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

pudu-0.0.5-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pudu-0.0.5.tar.gz.

File metadata

  • Download URL: pudu-0.0.5.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for pudu-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7e73a33ba340f5abeb8016e74e98b81c17df3b38f7bbcd9bde38dec7891f1adb
MD5 5c648223d7549aba526156aa37a6f863
BLAKE2b-256 34e0ab8d2a15da31873fb38799e68f9d8f966fe32dfd2e67c7e8aa053ee16281

See more details on using hashes here.

File details

Details for the file pudu-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: pudu-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for pudu-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 29462e37eb52b6420a1aa6203669ebcddd8297828f6664e12b8d7998d22eebfb
MD5 5f37b67dc7782f2a0feda8ffba26acf6
BLAKE2b-256 4a5a175f521f57a3e3ca012ccb941589de92f7ef4656bad8c2ce3ec95584ec33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page