Skip to main content

This package is a brief wrap-up toolkit built based on 2 explanation packages: LIME and SHAP. The package contains 2 explainers: LIMEBAG and SHAP. It takes data and fitted models as input and returns explanations about feature importance ranks and/or weights. (etc. what attributes matter most within the prediction model).

Project description

LAS

This package is a brief wrap-up toolkit built based on 2 explanation packages: LIME and SHAP. The package contains 2 explainers: LIMEBAG and SHAP. It takes data and fitted models as input and returns explanations about feature importance ranks and/or weights. (etc. what attributes matter most within the prediction model).

rq1.py

The demo runs LIMEBAG on a default dataset. It generates and presents explanations about feature importance ranks and weights for all testing data points. Can be called by LIMEBAG.demo1()

rq2.py

The demo uses the explanations returned from LIMEBAG to run an effect size test. A summary of feature importance ranks and weights will be generated and presented as output. Can be called by LIMEBAG.demo2()

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

LASExplanation-0.0.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

LASExplanation-0.0.1-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file LASExplanation-0.0.1.tar.gz.

File metadata

  • Download URL: LASExplanation-0.0.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for LASExplanation-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bee721aebfba72f21d2c93eaf0b3322f355b9bb750d1239063c430556662b935
MD5 69f890721bdeae9492e5316df72e3609
BLAKE2b-256 3eb395b2b67e350c1a7aeb666d9435b448737c647c3885f5d37f07dae930d6c0

See more details on using hashes here.

File details

Details for the file LASExplanation-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: LASExplanation-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for LASExplanation-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d67c6db143be319cedfe2e6fb655c81b7c9c3ade5d6a9c4c2bf7a0b0d190b04
MD5 fd7d3cd22cc8eb39d420bed37b993386
BLAKE2b-256 9b8e805ce3ca3b54655726581997ccee4f7f57daa86d90f60b45b5caabf9506e

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