You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-deploy-model-custom-output.md
+25-13Lines changed: 25 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,14 +60,14 @@ In this example, we are going to create a deployment that can write directly to
60
60
61
61
Batch Endpoint can only deploy registered models. In this case, we already have a local copy of the model in the repository, so we only need to publish the model to the registry in the workspace. You can skip this step if the model you are trying to deploy is already registered.
62
62
63
-
# [Azure ML CLI](#tab/cli)
63
+
# [Azure CLI](#tab/cli)
64
64
65
65
```azurecli
66
66
MODEL_NAME='heart-classifier'
67
67
az ml model create --name $MODEL_NAME --type "mlflow_model" --path "heart-classifier-mlflow/model"
68
68
```
69
69
70
-
# [Azure ML SDK for Python](#tab/sdk)
70
+
# [Python](#tab/sdk)
71
71
72
72
```python
73
73
model_name ='heart-classifier'
@@ -136,11 +136,11 @@ Follow the next steps to create a deployment using the previous scoring script:
136
136
137
137
1. First, let's create an environment where the scoring script can be executed:
138
138
139
-
# [Azure ML CLI](#tab/cli)
139
+
# [Azure CLI](#tab/cli)
140
140
141
141
No extra step is required for the Azure ML CLI. The environment definition will be included in the deployment file.
142
142
143
-
# [Azure ML SDK for Python](#tab/sdk)
143
+
# [Python](#tab/sdk)
144
144
145
145
Let's get a reference to the environment:
146
146
@@ -156,7 +156,7 @@ Follow the next steps to create a deployment using the previous scoring script:
156
156
> [!NOTE]
157
157
> This example assumes you have an endpoint created with the name `heart-classifier-batch` and a compute cluster with name `cpu-cluster`. If you don't, please follow the steps in the doc [Use batch endpoints for batch scoring](how-to-use-batch-endpoint.md).
158
158
159
-
# [Azure ML CLI](#tab/cli)
159
+
# [Azure CLI](#tab/cli)
160
160
161
161
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
162
162
@@ -192,7 +192,7 @@ Follow the next steps to create a deployment using the previous scoring script:
192
192
az ml batch-deployment create -f endpoint.yml
193
193
```
194
194
195
-
# [Azure ML SDK for Python](#tab/sdk)
195
+
# [Python](#tab/sdk)
196
196
197
197
To create a new deployment under the created endpoint, use the following script:
198
198
@@ -235,11 +235,12 @@ For testing our endpoint, we are going to use a sample of unlabeled data located
235
235
236
236
1. Let's create the data asset first. This data asset consists of a folder with multiple CSV files that we want to process in parallel using batch endpoints. You can skip this step is your data is already registered as a data asset or you want to use a different input type.
0 commit comments