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
title: 'Tutorial: Deploy a machine learning model with the designer'
3
3
titleSuffix: Azure Machine Learning
4
-
description: Learn how to build a predictive analytics solution in Azure Machine Learning designer (preview). Train, score, and deploy a machine learning model using draganddrop modules.
4
+
description: Learn how to build a predictive analytics solution in Azure Machine Learning designer (preview). Train, score, and deploy a machine learning model by using drag-and-drop modules.
5
5
6
6
author: peterclu
7
7
ms.author: peterlu
@@ -15,27 +15,27 @@ ms.date: 11/04/2019
15
15
# Tutorial: Deploy a machine learning model with the designer (preview)
You can deploy the predictive model developed in [part one of the tutorial](tutorial-designer-automobile-price-train-score.md) to give others a chance to use it. In part 1, you trained your model. Now, it's time to generate new predictions based on user input. In this part of the tutorial, you will:
18
+
You can deploy the predictive model developed in [part one of the tutorial](tutorial-designer-automobile-price-train-score.md) to give others a chance to use it. In part one, you trained your model. Now, it's time to generate new predictions based on user input. In this part of the tutorial, you will:
19
19
20
20
> [!div class="checklist"]
21
-
> * Create a real-time inference pipeline
22
-
> * Create an inferencing cluster
23
-
> * Deploy a real-time endpoint
24
-
> * Test a real-time endpoint
21
+
> * Create a real-time inference pipeline.
22
+
> * Create an inferencing cluster.
23
+
> * Deploy the real-time endpoint.
24
+
> * Test the real-time endpoint.
25
25
26
26
## Prerequisites
27
27
28
28
Complete [part one of the tutorial](tutorial-designer-automobile-price-train-score.md) to learn how to train and score a machine learning model in the designer.
29
29
30
30
## Create a real-time inference pipeline
31
31
32
-
In order to deploy your pipeline, you must first convert the training pipeline into a real-time inference pipeline. This process removes training modules and adds inputs and outputs for inferencing requests.
32
+
To deploy your pipeline, you must first convert the training pipeline into a real-time inference pipeline. This process removes training modules and adds inputs and outputs for inferencing requests.

41
41
@@ -44,13 +44,13 @@ In order to deploy your pipeline, you must first convert the training pipeline i
44
44
* The trained model is stored as a **Dataset** module in the module palette. You can find it under **My Datasets**.
45
45
* Training modules like **Train Model** and **Split Data** are removed.
46
46
* The saved trained model is added back into the pipeline.
47
-
***Web Service Input** and **Web Service Output** modules are added. These modules show where user data will enter the model, and where data is returned.
47
+
***Web Service Input** and **Web Service Output** modules are added. These modules show where user data enters the model and where data is returned.
48
48
49
-
> [!Note]
50
-
> The **training pipeline** is saved under the new tab at the top of the pipeline canvas. It can also be found as a published pipeline in the designer.
49
+
> [!NOTE]
50
+
> The *training pipeline* is saved under the new tab at the top of the pipeline canvas. It can also be found as a published pipeline in the designer.
51
51
>
52
52
53
-
1. Select **Run** and use the same compute target and experiment you used in part 1.
53
+
1. Select **Run**, and use the same compute target and experiment that you used in part one.
54
54
55
55
1. Select the **Score Model** module.
56
56
@@ -60,24 +60,24 @@ In order to deploy your pipeline, you must first convert the training pipeline i
60
60
61
61
## Create an inferencing cluster
62
62
63
-
In the dialog that appears, you can select from any existing Azure Kubernetes Service (AKS) clusters in to deploy your model to. If you don't have an AKS cluster, use the following steps to create one.
63
+
In the dialog box that appears, you can select from any existing Azure Kubernetes Service (AKS) clusters to deploy your model to. If you don't have an AKS cluster, use the following steps to create one.
64
64
65
-
1. Select **Compute** in the dialog box that appears to navigate to the **Compute** page.
65
+
1. Select **Compute** in the dialog box that appears to go to the **Compute** page.
66
66
67
-
1.In the navigation ribbon, select **Inference Clusters** > **+ New**.
67
+
1.On the navigation ribbon, select **Inference Clusters** > **+ New**.
68
68
69
-

69
+

70
70
71
71
1. In the inference cluster pane, configure a new Kubernetes Service.
72
72
73
-
1. Enter "aks-compute" for the **Compute name**.
73
+
1. Enter *aks-compute* for the **Compute name**.
74
74
75
-
1. Select a nearby available **Region**.
75
+
1. Select a nearby region that's available for the**Region**.
76
76
77
77
1. Select **Create**.
78
78
79
-
> [!Note]
80
-
> It takes approximately 15 minutes to create a new AKS service. You can check the provisioning state on the **Inference Clusters** page
79
+
> [!NOTE]
80
+
> It takes approximately 15 minutes to create a new AKS service. You can check the provisioning state on the **Inference Clusters** page.
81
81
>
82
82
83
83
## Deploy the real-time endpoint
@@ -94,21 +94,21 @@ After your AKS service has finished provisioning, return to the real-time infere
94
94
95
95

96
96
97
-
A success notification above the canvas will appear when deployment completes, it may take a few minutes.
97
+
A success notification above the canvas appears after deployment finishes. It might take a few minutes.
98
98
99
99
## Test the real-time endpoint
100
100
101
-
Once deployment completes, you can test your real-time endpoint by navigating to the **Endpoints** page.
101
+
After deployment finishes, you can test your real-time endpoint by going to the **Endpoints** page.
102
102
103
103
1. On the **Endpoints** page, select the endpoint you deployed.
104
104
105
105

106
106
107
107
1. Select **Test**.
108
108
109
-
1. You can manually input testing data or use the autofilled sample data and select **Test**.
109
+
1. You can manually input testing data or use the autofilled sample data, and select **Test**.
110
110
111
-
The portal submits a test request to the endpoint and shows the results. Although a price value is generated for the input data, it is not used to generate the prediction value.
111
+
The portal submits a test request to the endpoint and shows the results. Although a price value is generated for the input data, it isn't used to generate the prediction value.
112
112
113
113

114
114
@@ -118,7 +118,7 @@ Once deployment completes, you can test your real-time endpoint by navigating to
118
118
119
119
## Next steps
120
120
121
-
In this tutorial, you learned the key steps in creating, deploying, and consuming a machine learning model in the designer. To learn more about how you can use the designer to solve other types of problems, see out our other sample pipelines.
121
+
In this tutorial, you learned the key steps in how to create, deploy, and consume a machine learning model in the designer. To learn more about how you can use the designer to solve other types of problems, see our other sample pipelines.
Copy file name to clipboardExpand all lines: includes/aml-create-in-portal-enterprise.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.date: 10/04/2019
13
13
14
14
1. Sign in to the [Azure portal](https://portal.azure.com/) by using the credentials for your Azure subscription.
15
15
16
-
1. In the upper-left corner of Azure portal, select **+ Create a resource**.
16
+
1. In the upper-left corner of the Azure portal, select **+ Create a resource**.
17
17
18
18

19
19
@@ -27,15 +27,15 @@ ms.date: 10/04/2019
27
27
28
28
Field|Description
29
29
---|---
30
-
Workspace name |Enter a unique name that identifies your workspace. In this example, we use **docs-ws**. Names must be unique across the resource group. Use a name that's easy to recall and to differentiate from workspaces created by others.
30
+
Workspace name |Enter a unique name that identifies your workspace. In this example, we use **docs-ws**. Names must be unique across the resource group. Use a name that's easy to recall and to differentiate from workspaces created by others.
31
31
Subscription |Select the Azure subscription that you want to use.
32
-
Resource group | Use an existing resource group in your subscription or enter a name to create a new resource group. A resource group holds related resources for an Azure solution. In this example, we use **docs-aml**.
32
+
Resource group | Use an existing resource group in your subscription, or enter a name to create a new resource group. A resource group holds related resources for an Azure solution. In this example, we use **docs-aml**.
33
33
Location | Select the location closest to your users and the data resources to create your workspace.
34
-
Workspace edition | Select **Enterprise**. This tutorial requires the use of the Enterprise edition. The Enterprise edition is in preview and does not currently add any extra costs.
34
+
Workspace edition | Select **Enterprise**. This tutorial requires the use of the Enterprise edition. The Enterprise edition is in preview and doesn't currently add any extra costs.
35
35
36
-
1. After you are finished configuring the workspace, select **Create**.
36
+
1. After you're finished configuring the workspace, select **Create**.
37
37
38
-
> [!Warning]
38
+
> [!WARNING]
39
39
> It can take several minutes to create your workspace in the cloud.
40
40
41
41
When the process is finished, a deployment success message appears.
Copy file name to clipboardExpand all lines: includes/aml-ui-cleanup.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.date: 11/06/2019
15
15
16
16
### Delete everything
17
17
18
-
If you don't plan to use anything that you created, delete the entire resource group so you don't incur any charges:
18
+
If you don't plan to use anything that you created, delete the entire resource group so you don't incur any charges.
19
19
20
20
1. In the Azure portal, select **Resource groups** on the left side of the window.
21
21
@@ -25,20 +25,20 @@ If you don't plan to use anything that you created, delete the entire resource g
25
25
26
26
1. Select **Delete resource group**.
27
27
28
-
Deleting the resource group also deletes all resources that you created in the designer.
28
+
Deleting the resource group also deletes all resources that you created in the designer.
29
29
30
30
### Delete individual assets
31
31
32
32
In the designer where you created your experiment, delete individual assets by selecting them and then selecting the **Delete** button.
33
33
34
-
The compute target that you created here *automatically autoscales* to zero nodes when it's not being used. This is to minimize charges. If you want to delete the compute target, take these steps:
34
+
The compute target that you created here *automatically autoscales* to zero nodes when it's not being used. This action is taken to minimize charges. If you want to delete the compute target, take these steps:
Copy file name to clipboardExpand all lines: includes/aml-ui-create-training-compute.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.topic: "include"
11
11
ms.date: 10/09/2019
12
12
---
13
13
14
-
A pipeline runs on a compute target which is a compute resource that is attached to your workspace. Once you create a compute target, you can reuse it for future runs.
14
+
A pipeline runs on a compute target, which is a compute resource that's attached to your workspace. After you create a compute target, you can reuse it for future runs.
15
15
16
16
1. Select **Run** at the top of the canvas to run the pipeline.
17
17
@@ -20,28 +20,28 @@ A pipeline runs on a compute target which is a compute resource that is attached
20
20
If you already have an available compute target, you can select it to run this pipeline.
21
21
22
22
> [!NOTE]
23
-
> The designer can only run experiments on Machine Learning Compute targets. Other compute targets will not be shown.
23
+
> The designer can run experiments only on Azure Machine Learning Compute targets. Other compute targets won't be shown.
1. In the **Set up pipeline run** dialog, select **+ New experiment** for the **Experiment**
33
+
1. In the **Set up pipeline run** dialog box, select **+ New experiment** for the **Experiment**.
34
34
35
35
> [!NOTE]
36
36
> Experiments group similar pipeline runs together. If you run a pipeline multiple times, you can select the same experiment for successive runs.
37
37
38
-
* Enter a descriptive **Experiment Name**
38
+
1. Enter a descriptive name for **Experiment Name**.
39
39
40
-
* Select **Run**
40
+
1. Select **Run**.
41
41
42
42
You can view run status and details at the top right of the canvas.
43
43
44
44
> [!NOTE]
45
-
> It takes approximately 5 minutes to create a compute resource. After the resource is created, you can reuse it and skip this wait time for future runs.
45
+
> It takes approximately five minutes to create a compute resource. After the resource is created, you can reuse it and skip this wait time for future runs.
46
46
>
47
-
> The compute resource will autoscale to 0 nodes when it is idle to save cost. When you use it again after a delay, you may again experience approximately 5 minutes of wait time while it scales back up.
47
+
> The compute resource autoscales to zero nodes when it's idle to save cost. When you use it again after a delay, you might experience approximately five minutes of wait time while it scales back up.
0 commit comments