Skip to content

Commit deb8360

Browse files
committed
Update tutorial.md
1 parent 3187b0a commit deb8360

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

docs/tutorial.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,6 @@ You can get a summary of the status of resources using `cortex status`:
102102
103103
```
104104
$ cortex status --watch
105-
106-
Python Packages: none
107-
Raw Columns: 5 ready
108-
Aggregates: 9 ready
109-
Transformed Columns: 5 ready
110-
Training Datasets: 1 ready
111-
Models: 1 training
112-
APIs: 1 pending
113105
```
114106
115107
#### Test the iris classification service
@@ -133,11 +125,6 @@ When the API is ready, request a prediction from the API:
133125

134126
```
135127
$ cortex predict iris-type irises.json
136-
137-
iris-type was last updated on Tuesday, February 14, 2019 at 2:57pm PST
138-
139-
Predicted class:
140-
Iris-setosa
141128
```
142129

143130
#### Call the API from other clients (e.g. cURL)
@@ -146,8 +133,6 @@ Get the API's endpoint:
146133

147134
```
148135
$ cortex get api iris-type
149-
150-
# https://abc.amazonaws.com/iris/iris-type
151136
```
152137

153138
Use cURL to test the API:
@@ -158,8 +143,6 @@ $ curl -k \
158143
-H "Content-Type: application/json" \
159144
-d '{ "samples": [ { "sepal_length": 5.2, "sepal_width": 3.6, "petal_length": 1.4, "petal_width": 0.3 } ] }' \
160145
<API endpoint>
161-
162-
{"classification_predictions":[{"class_ids":["0"],"classes":["MA=="],"logits":[1.501487135887146,-0.6141998171806335,-1.4335800409317017],"predicted_class":0,"predicted_class_reversed":"Iris-setosa","probabilities":[0.8520227670669556,0.10271172970533371,0.04526554048061371]}],"resource_id":"18ef9f6fb4a1a8b2a3d3e8068f179f89f65d1ae3d8ac9d96b782b1cec3b39d2"}
163146
```
164147

165148
## Cleanup

0 commit comments

Comments
 (0)