v0.4.0
This minor release expands our documentation and examples pool.
We additionally provide an the D-RISE implementation for the
GenerateDetectorProposalSaliency interface.
Updates / New Features
CI
Added workflow for test running some example notebooks.
Update CodeCov action used to version 2.
Documentation
Added text discussing white box methods to
introduction.rst.Added some review process documentation.
Add initial FAQ documentation file.
Add background material for saliency maps to
introduction.rst.Added API docs section, which includes descriptions of all interfaces.
Added content to the
CONTRIBUTING.mdfile on:including notes here for added updates, features and fixes
Jupyter notebook CI workflow inclusion
Add implementations section.
Update example Jupyter notebooks to work with Google Colab.
Examples
Add example notebook using classifier-based interfaces and implementations with scikit-learn on the MNIST dataset.
Edited notebook examples.
Implementations
Add
DRISEScoringimplementation of theGenerateDetectorProposalSaliencyinterface using detection output and associated occlusion masks.Add
SlidingRadialimplementation of thePerturbImageinterface that slides radial occlusion areas across an image.
Tests
Removed use of
unittest.TestCaseas it is not utilized directly in any way that PyTest does not provide.
Utilities
Add type annotation, documentation and unit-tests for using image matrices as the fill option instead of just a solid color.
Add
format_detectionhelper function to form the input forGenerateDetectorProposalSaliencyfrom separated components.Add example notebook showing the use of
SlidingRadialperturbation and the use ofocclude_image_batchwith blurred-image alpha blending.
Fixes
Implementations
Fixed
ValueErrormessages raised in theSimilarityScoringimplementation. Added unittests to check the raising and message content.