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-automl-endpoint.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ In the following sections, you learn how to deploy AutoML trained machine learni
28
28
29
29
## Prerequisites
30
30
31
-
- An AutoML-trained machine learning model. For more information, see [Tutorial: Train a classification model with no-code AutoML in the Azure Machine Learning studio](tutorial-first-experiment-automated-ml.md) or [Tutorial: Forecast demand with automated machine learning](tutorial-automated-ml-forecast.md).
31
+
- An AutoML-trained machine learning model. For more information, see [Tutorial: Train a classification model with no-code AutoML](tutorial-first-experiment-automated-ml.md) or [Tutorial: Forecast demand with no-code automated machine learning](tutorial-automated-ml-forecast.md).
32
32
33
33
## Deploy from Azure Machine Learning studio and no code
34
34
@@ -107,7 +107,7 @@ Create a directory called `src/` and place the scoring file that you downloaded
107
107
108
108
### Create the endpoint and deployment yaml file
109
109
110
-
To create an online endpoint from the command line, create an *endpoint.yml* and a *deployment.yml* file. The following code, taken from the [Azure Machine Learning Examples repo](https://github.com/Azure/azureml-examples), shows the *endpoints/online/managed/sample/*, which captures all the required inputs:
110
+
To create an online endpoint from the command line, create an *endpoint.yml* and a *deployment.yml* file. The following code, taken from the [Azure Machine Learning Examples repo](https://github.com/Azure/azureml-examples), shows the *endpoints/online/managed/sample/*, which captures all the required inputs.
111
111
112
112
__automl_endpoint.yml__
113
113
@@ -123,7 +123,7 @@ You need to modify this file to use the files you downloaded from the AutoML Mod
123
123
124
124
1. Change the value of the `name` of the endpoint. The endpoint name needs to be unique within the Azure region. The name for an endpoint must start with an upper- or lowercase letter and only consist of '-'s and alphanumeric characters.
125
125
126
-
1. In the `automl_deployment` file, change the value of the keys at the following paths:
126
+
1. In the `automl_deployment` file, change the value of the keys at the following paths.
127
127
128
128
| Path | Change to |
129
129
|:---- |:--------- |
@@ -166,7 +166,7 @@ Create a directory called `src/` and place the scoring file you downloaded into
166
166
167
167
### Connect to Azure Machine Learning workspace
168
168
169
-
1. Import the required libraries:
169
+
1. Import the required libraries.
170
170
171
171
```python
172
172
# import required libraries
@@ -181,7 +181,7 @@ Create a directory called `src/` and place the scoring file you downloaded into
181
181
from azure.identity import DefaultAzureCredential
182
182
```
183
183
184
-
1. Configure workspace details and get a handle to the workspace:
184
+
1. Configure workspace details and get a handle to the workspace.
185
185
186
186
```python
187
187
# enter details of your Azure Machine Learning workspace
@@ -201,7 +201,7 @@ Create a directory called `src/` and place the scoring file you downloaded into
201
201
202
202
Next, create the managed online endpoints and deployments.
203
203
204
-
1. Configure online endpoint:
204
+
1. Configure online endpoint.
205
205
206
206
> [!TIP]
207
207
> -`name`: The name of the endpoint. It must be unique in the Azure region. The name for an endpoint must start with an upper- or lowercase letter and only consist of '-'s and alphanumeric characters. For more information on the naming rules, see [endpoint limits](how-to-manage-quotas.md#azure-machine-learning-online-endpoints-and-batch-endpoints).
@@ -221,15 +221,15 @@ Next, create the managed online endpoints and deployments.
221
221
)
222
222
```
223
223
224
-
1. Create the endpoint:
224
+
1. Create the endpoint.
225
225
226
226
Using the `MLClient` created earlier, create the Endpoint in the workspace. This command starts the endpoint creation. It returns a confirmation response while the endpoint creation continues.
227
227
228
228
```python
229
229
ml_client.begin_create_or_update(endpoint)
230
230
```
231
231
232
-
1. Configure online deployment:
232
+
1. Configure online deployment.
233
233
234
234
A deployment is a set of resources required for hosting the model that does the actual inferencing. Create a deployment for our endpoint using the `ManagedOnlineDeployment`class.
235
235
@@ -262,7 +262,7 @@ Next, create the managed online endpoints and deployments.
262
262
|`code_configuration:scoring_script`| The name of the Python scoring file (`scoring_file_<VERSION>.py`). |
263
263
|`environment:conda_file`| A fileURLfor the downloaded conda environment file (`conda_env_<VERSION>.yml`). |
264
264
265
-
1. Create the deployment:
265
+
1. Create the deployment.
266
266
267
267
Using the `MLClient` created earlier, create the deployment in the workspace. This command starts the deployment creation andreturn a confirmation response while the deployment creation continues.
268
268
@@ -272,11 +272,11 @@ Next, create the managed online endpoints and deployments.
272
272
273
273
After you create a deployment, you can score it as described in [Test the endpoint with sample data](how-to-deploy-managed-online-endpoint-sdk-v2.md#test-the-endpoint-with-sample-data).
274
274
275
-
You can learn to deploy to managed online endpoints with SDK more in [Deploy machine learning models to managed online endpoint using Python SDK v2](how-to-deploy-managed-online-endpoint-sdk-v2.md).
275
+
You can learn to deploy to managed online endpoints with SDK more in [Deploy and score a machine learning model by using an online endpoint](how-to-deploy-managed-online-endpoint-sdk-v2.md).
0 commit comments