-
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.
- Loading branch information
Showing
1 changed file
with
30 additions
and
6 deletions.
There are no files selected for viewing
36 changes: 30 additions & 6 deletions
36
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 |
---|---|---|
@@ -1,10 +1,34 @@ | ||
# Algorithm - local SHAP toolbox | ||
# SHAP Toolbox | ||
|
||
## Description | ||
* local shap algorithm | ||
This plugin explains how your features affect your overall prediction for a single row of data by using Shapley Values. | ||
|
||
## License | ||
* Licensed under Apache Software License 2.0 | ||
## 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. | | ||
|
||
## Developers: | ||
* Example Author | ||
- 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) |