From 4af498ad28bae2deb4336b75b7c1141f8fd6cb6b Mon Sep 17 00:00:00 2001 From: David Eliahu Date: Wed, 25 Dec 2019 19:14:38 -0800 Subject: [PATCH] Update iris labels (cherry picked from commit f7e370a0cf538cd36e5ce1324a1ab43ed0042d9c) --- docs/deployments/onnx.md | 2 +- docs/deployments/python.md | 2 +- docs/deployments/tensorflow.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deployments/onnx.md b/docs/deployments/onnx.md index 9cae26ad71..c4b02d6d31 100644 --- a/docs/deployments/onnx.md +++ b/docs/deployments/onnx.md @@ -86,7 +86,7 @@ class ONNXPredictor: ```python import numpy as np -labels = ["iris-setosa", "iris-versicolor", "iris-virginica"] +labels = ["setosa", "versicolor", "virginica"] class ONNXPredictor: diff --git a/docs/deployments/python.md b/docs/deployments/python.md index 518843556f..d344a0b422 100644 --- a/docs/deployments/python.md +++ b/docs/deployments/python.md @@ -88,7 +88,7 @@ class PythonPredictor: import boto3 from my_model import IrisNet -labels = ["iris-setosa", "iris-versicolor", "iris-virginica"] +labels = ["setosa", "versicolor", "virginica"] class PythonPredictor: def __init__(self, config): diff --git a/docs/deployments/tensorflow.md b/docs/deployments/tensorflow.md index 53fa491027..55d41b52c4 100644 --- a/docs/deployments/tensorflow.md +++ b/docs/deployments/tensorflow.md @@ -85,7 +85,7 @@ class TensorFlowPredictor: ## Example ```python -labels = ["iris-setosa", "iris-versicolor", "iris-virginica"] +labels = ["setosa", "versicolor", "virginica"] class TensorFlowPredictor: