Skip to main content

Explain LISA

It takes the following.

img: local path of img to be explained

class_names: the classes available as predictions for the given model

img_shape: shape of the image accepts by the neural network

model: the model to be explained get from tf.keras.models.load_model("your model path")

img1: local path background data point for produce explanations with SHAP

img2: local path background data point for produce explanations with SHAP

scale: for manual image scaling if scaling layer absent in the model to be explained

filter_radius: the pixel value of the radius of the High pass filter

Installation

pip install LISA_CNN_ExplainerV1

How to use it?

Open terminal and type python/python3 according to your OS.

import LISA_CNN_ExplainerV1 as e \n

e.ExplainLISA(img,class_names,img_shape,model,img1,img2,scale,filter_radius) \n

ExplainLISA.displayImages() \n

License

© 2021 Sudil H.P Abeyagunasekera

This repository is licensed under the MIT license. See LICENSE for details.

Metadata

Release files for LISA-CNN-ExplainerV1 0.0.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 LISA-CNN-ExplainerV1 0.0.4
File Size Uploaded Provenance Actions
LISA_CNN_ExplainerV1-0.0.4.tar.gz 7.5 kB Without provenance Details for LISA_CNN_ExplainerV1-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for LISA-CNN-ExplainerV1 0.0.4
File Interpreter ABI Platform Actions
LISA_CNN_ExplainerV1-0.0.4-py3-none-any.whl Python 3 none any Details for LISA_CNN_ExplainerV1-0.0.4-py3-none-any.whl

Total release size: 15.4 kB

Release files / LISA_CNN_ExplainerV1-0.0.4.tar.gz

Download URL LISA_CNN_ExplainerV1-0.0.4.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
81e643df36941fdd7efa6de6242c92b275196c93d59c54fd3fb9dcd1fdf2eb39
BLAKE2b-256 checksum
How to use checksums
2cedaa215874ce288e3dc38e17480b8ac322b1f34a13cd3d1247ad67deaa6e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / LISA_CNN_ExplainerV1-0.0.4-py3-none-any.whl

Download URL LISA_CNN_ExplainerV1-0.0.4-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
700b9587a50a773139efd67b5e70aa52d85d9dbb00a8fb1ca0e03cbec0b4f494
BLAKE2b-256 checksum
How to use checksums
78e444c8957d0f82a02dab8e6298793e7269f3b2e57926a367345e3689e2dabc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Security for LISA-CNN-ExplainerV1 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

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