We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose.You can read our privacy policies and terms of use etc by clicking here.
Model Explanations with Anchor Images
In this demo we will:
- Launch an income classification model which has image training features
- Send a request to get a predicton
- Create an explainer for the model
- Send the same request and then get an explanation for it
This model provides a model trained to classify images based on CIFAR10 dataset.
The explainer uses the anchors technique to provide insight into why a particular classification was made by the model. We’ll see patterns in an input image that are most relevant to the prediction outcome.
Create Model
Use the following model uri with tensorflow runtime.
gs://seldon-models/tfserving/cifar10/resnet32
Get Predictions
Run a single prediction using the tensorflow payload format of an image truck.
Add an Anchor Images Explainer
Create an model explainer using the URL below for the saved explainer.
gs://seldon-models/tfserving/cifar10/explainer-py36-0.5.2
Get Explanation for one Request
View all requests and then explain it using the JSON below: