mihifepe
Overview
mihifepe, or Model Interpretability via Hierarchical Feature Perturbation, is a library implementing a model-agnostic method that, given a learned model and a hierarchy over features, (i) tests feature groups, in addition to base features, and tries to determine the level of resolution at which important features can be determined, (ii) uses hypothesis testing to rigorously assess the effect of each feature on the model’s loss, (iii) employs a hierarchical approach to control the false discovery rate when testing feature groups and individual base features for importance, and (iv) uses hypothesis testing to identify important interactions among features and feature groups. mihifepe is based on the following paper:
Lee, Kyubin, Akshay Sood, and Mark Craven. 2019. “Understanding Learned Models by Identifying Important Features at the Right Resolution.” In Proceedings of the AAAI Conference on Artificial Intelligence, 33:4155–63. https://doi.org/10.1609/aaai.v33i01.33014155.
Documentation
Installation
Recommended installation method is via virtual environments and pip. In addition, you also need graphviz installed on your system.
When making the virtual environment, specify python3 as the python executable (python3 version must be 3.5+):
mkvirtualenv -p python3 mihifepe_env
To install the latest stable release:
pip install mihifepe
Or to install the latest development version from GitHub:
pip install git+https://github.com/Craven-Biostat-Lab/mihifepe.git@master#egg=mihifepe
On Ubuntu, graphviz may be installed by:
sudo apt-get install graphviz
Development
Usage
License
mihifepe is free, open source software, released under the MIT license. See LICENSE for details.
Contact
Changelog
0.2.1 (2019-12-29)
Package sub-modules
Fix Travis auto-deployment to PyPI
Upgrade numpy dependency
0.2.0 (2019-12-27)
Regression tests - serial and distributed (condor)
Sympy to manage simulated model
Pairwise interaction analysis
Corrected adjusted p-values for non-rejected nodes
Various minor fixes and documentation updates
0.1.1 (2018-09-14)
First release on PyPI
Metadata
Release files for mihifepe 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mihifepe-0.2.2.tar.gz | 52.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mihifepe-0.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 120.0 kB
Release files / mihifepe-0.2.2.tar.gz
| Download URL | mihifepe-0.2.2.tar.gz |
|---|---|
| Size | 52.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dcce27114c0b9e285afc9724f7863ef4293e012094d3d7e0a64134d961fd7d8
|
|
BLAKE2b-256 checksum How to use checksums |
7115383de593ccd260555d8ce49e3edbe19871b30fe2cdb3e358bf4f3e014ba1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.6.7
|
Release files / mihifepe-0.2.2-py2.py3-none-any.whl
| Download URL | mihifepe-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 67.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
187653055296dce9c632dedb8fc8b7b91a13b064eeb39434d2d2a475206ff14c
|
|
BLAKE2b-256 checksum How to use checksums |
340d7780f3d235434198249cfac1a2e7072bf9624ad4a8559c8ed57cac225269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.6.7
|
Security for mihifepe 0.2.2
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.