generated from biolab/orange3-example-addon
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 #44 from VesnaT/ice
ICE: Init ICE widget
- Loading branch information
Showing
10 changed files
with
1,214 additions
and
8 deletions.
There are no files selected for viewing
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
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 @@ | ||
ICE | ||
=== | ||
|
||
Displays one line per instance that shows how the instance’s prediction changes when a feature changes. | ||
|
||
**Inputs** | ||
|
||
- Model: model | ||
- Data: dataset | ||
|
||
The **ICE** (Individual Conditional Expectation) widget visualizes the dependence of the prediction on a feature for each instance separately, resulting in one line per instance, compared to one line overall in partial dependence plots. | ||
|
||
|
||
![](images/ICE.png) | ||
|
||
1. Select a target class. | ||
2. Select a feature. | ||
3. Order features by importance (partial dependence averaged across all the samples). | ||
4. Apply the color of a discrete feature. | ||
5. If **Centered** is ticked, the plot lines will start at the origin of the y-axis. | ||
5. If **Show mean** is ticked, the average across all the samples in the dataset is shown. | ||
6. If **Send Automatically** is ticked, the output is sent automatically after any change. | ||
Alternatively, click **Send**. | ||
7. Get help, save the plot, make the report, set plot properties, or observe the size of input and output data. | ||
8. Plot shows a line for each instance in the input dataset. | ||
|
||
Example | ||
------- | ||
|
||
In the flowing example, we use the ICE widget to explain Random Forest model. In the File widget, we open the Housing dataset. We connect it to the Random Forest widget, which trains the model. The ICE widget accepts the model and data which are used to explain the model. | ||
|
||
By selecting some arbitrary lines, the selected instances of the input dataset appear on the output of the ICE widget. | ||
|
||
![](images/ICE-Example.png) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.