-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #365 from aiverify-foundation/add-local-shap-readme
Add Local Shap Readme.md
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
stock-plugins/aiverify.stock.shap-toolbox/algorithms/local_shap_toolbox/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# SHAP Toolbox | ||
|
||
## Description | ||
This plugin explains how your features affect your overall prediction for a single row of data by using Shapley Values. | ||
|
||
## Plugin Content | ||
- Algorithms | ||
|
||
| Name | Description | | ||
| ------------------ | ------------------------------------------------------------------------------------------------ | | ||
| SHAP Toolbox | SHAP (SHapley Additive exPlanations) is a game theoretic approach to explain the output of any machine learning model. | | ||
|
||
- Widgets | ||
|
||
| Name | Description | | ||
| -------------------------- | ---------------------------------------------------------------------------------------- | | ||
| Local Explainability Chart | To display the SHAP values using a bar chart for the selection row, and display row data | | ||
|
||
## Using the Plugin in AI Verify | ||
### Data Preparation | ||
- Tabular dataset ([Tutorial for Preparation](https://imda-btg.github.io/aiverify/getting-started/prepare-tabular/)) | ||
|
||
### Algorithm User Input(s) | ||
|
||
| Input Field | Description | Type | | ||
| --------------------------- | -----------------------------------------------------------| :------: | | ||
| Row Number | Row number of data to perform local explainability test | `int` | | ||
| Path of the background data | Background data path | `string` | | ||
| Size of the background | Background samples (eg. 25) | `int` | | ||
| Size of the test dataset | Data Samples (eg. 25) | `int` | | ||
|
||
### Sample use of the widgets | ||
|
||
![SHAP sample](images/local_shap_sample.png) |