forked from opendatahub-io/odh-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more seldon quickstarts #24
Merged
jeff-phillips-18
merged 4 commits into
red-hat-data-services:master
from
ryandawsonuk:more-seldon-quickstarts
Mar 23, 2021
+186
−7
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,44 @@ | ||
kind: ConsoleQuickStart | ||
metadata: | ||
name: seldon-deploy-model-explainer | ||
spec: | ||
displayName: See predictions and explanations for a deployed SKLearn model | ||
durationMinutes: 10 | ||
icon: 'images/seldon.svg' | ||
description: See predictions and explanations for deployed income classifier model | ||
introduction: |- | ||
### This quick start shows you how to launch an income classifier model and see explanations. | ||
Seldon Deploy is a specialist set of tools designed to simplify and accelerate the process of deploying and managing your machine learning models. | ||
|
||
This quick start is a short version of https://deploy.seldon.io/docs/demos/seldon-core/explainer-anchortabular/ | ||
tasks: | ||
- title: Deploy a pretrained income classifier model | ||
description: |- | ||
### Deploy a pretrained income classifier model | ||
1. Open Seldon Console and click create. Deployment creation wizard appears. | ||
2. Choose type SeldonDeployment and click next. | ||
3. Choose toolkit scikit-learn and enter the model url gs://seldon-models/sklearn/income/model-0.23.2 | ||
4. Click through wizard to deploy the model | ||
summary: | ||
success: You have deployed a pretrained sklearn iris model | ||
failed: Try the steps again or see https://deploy.seldon.io/docs/demos/seldon-core/explainer-anchortabular/ | ||
- title: Add an explainer | ||
description: |- | ||
### Deploy a pretrained explainer model for the income classifier | ||
1. From the income classifier model's page, go to the alibi explainer wizard | ||
2. Enter the model url gs://seldon-models/sklearn/income/explainer-py36-0.5.2 for an Anchor Tabular explainer and use the defaults | ||
3. Click through wizard to deploy the explainer | ||
summary: | ||
success: The explainer shows as loaded | ||
failed: Try the steps again or see https://deploy.seldon.io/docs/demos/seldon-core/explainer-anchortabular/ | ||
- title: Make a prediction and see explanations | ||
description: |- | ||
### Make a prediction: | ||
1. Use this request payload to make a prediction {"data": {"names": ["Age","Workclass","Education","Marital Status","Occupation","Relationship","Race","Sex","Capital Gain","Capital Loss","Hours per week","Country"], "ndarray": [[53,4,0,2,8,4,2,0,0,0,60,9]]}} | ||
2. You should get a successful result back from the prediction. | ||
3. Click explain under the prediction to understand why this result was given by seeing anchors of most influential features | ||
summary: | ||
success: You see anchor-style explanations for income classifier model. | ||
failed: Try the steps again or see https://deploy.seldon.io/docs/demos/seldon-core/explainer-anchortabular/ | ||
conclusion: You are now able to understand the predictoins of the model. | ||
nextQuickStart: [] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.