Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ Negative (blue) words indicate atheism, while positive (orange) words indicate c

<img src="https://raw.githubusercontent.com/marcotcr/lime/master/doc/images/images.png" width=200 />

This image visually explains why the model predicted ‘cat’.

Positive contribution pixels (green): Regions that are important for predicting the cat class. In the image, the cat’s body and face are highlighted.

Negative contribution pixels (red): Regions that decrease the probability of the cat class. In the image, part of a dog’s face and body are included.

LIME divides the input image into small regions (superpixels) and measures how the model’s output changes when each region is removed or altered.

## Tutorials and API

For example usage for text classifiers, take a look at the following two tutorials (generated from ipython notebooks):
Expand Down