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-retrain-designer.md
+30-41Lines changed: 30 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,105 +27,94 @@ In this article, you learn how to:
27
27
## Prerequisites
28
28
29
29
* An Azure subscription. If you don’t have an Azure subscription, create a [free account](https://aka.ms/AMLFree).
30
-
31
30
* An Azure Machine Learning workspace with the Enterprise SKU.
32
31
33
32
This article assumes that you have basic knowledge of building pipelines in the designer. For a guided introduction to the designer, complete the [tutorial](tutorial-designer-automobile-price-train-score.md).
34
33
35
34
### Sample pipeline
36
35
37
-
The pipeline used in this article is an altered version of the one found in [Sample 3 - Income Prediction](how-to-designer-sample-classification-predict-income.md). It uses the [Import Data](algorithm-module-reference/import-data.md) module instead of the sample dataset to show you how to train a model using your own data.
36
+
The pipeline used in this article is an altered version of the one found in [Sample 3: Income prediction](how-to-designer-sample-classification-predict-income.md). It uses the [Import Data](algorithm-module-reference/import-data.md) module instead of the sample dataset to show you how to train a model by using your own data.
38
37
39
-

38
+

40
39
41
40
## Train a machine learning model
42
41
43
-
To retrain a model, you need an initial model. In this section, you learn how to train a model and access the saved model using the designer.
42
+
To retrain a model, you need an initial model. In this section, you learn how to train a model and access the saved model by using the designer.
44
43
45
44
1. Select the **Import Data** module.
46
-
1. In the properties pane, specify a data source.
47
-
48
-

45
+
1. On the properties pane, specify a data source.
49
46
50
-
For this example, the data is stored in an [Azure datastore](how-to-access-data.md). If you don't already have a datastore, you can create one now by selecting **New datastore**.
47
+

51
48
52
-
1. Specify the path to your data. You can also select **Browse path** to visually navigate your datastore.
49
+
For this example, the data is stored in an [Azure datastore](how-to-access-data.md). If you don't already have a datastore, you can create one now by selecting **New datastore**.
53
50
51
+
1. Specify the path to your data. You can also select **Browse path** to browse to your datastore.
54
52
1. Select **Run** at the top of the canvas.
55
53
56
-
> [!NOTE]
57
-
> If you have already set a default compute for this pipeline draft, the pipeline will run automatically. Otherwise, you can follow the prompts in the settings pane that appears to set one now.
54
+
> [!NOTE]
55
+
> If you have already set a default compute for this pipeline draft, the pipeline will run automatically. Otherwise, you can follow the prompts on the settings pane to set one now.
58
56
59
-
### Locate your trained model
57
+
### Find your trained model
60
58
61
59
The designer saves all pipeline outputs, including trained models, to the default storage account. You can also access the trained model directly in the designer:
62
60
63
61
1. Wait for the pipeline to finish running.
64
-
65
62
1. Select the **Train Model** module.
63
+
1. On the settings pane, select **Outputs+logs**.
64
+
1. Select the **View output** icon, and follow the instruction in the pop-up window to find the trained model.
66
65
67
-
1. In the settings pane, select **Outputs+logs**.
68
-
69
-
1. Click on **View output** icon, and follow the instruction in the pop-up window to locate the trained model.
70
-
71
-

66
+

72
67
73
68
## Create a pipeline parameter
74
69
75
70
Add pipeline parameters to dynamically set variables at runtime. For this pipeline, add a parameter for the training data path so that you can retrain your model on a new dataset.
76
71
77
72
1. Select the **Import Data** module.
78
-
1.In the settings pane, select the ellipses above the **Path** field.
73
+
1.On the settings pane, select the ellipses above the **Path** field.
79
74
1. Select **Add to pipeline parameter**.
80
-
1. Provide a parameter name and default value.
75
+
1. Provide a parameter name and a default value.
81
76
82
-
> [!NOTE]
83
-
> You can inspect and edit your pipeline parameters by selecting the **Settings gear icon** next to the title of your pipeline draft.
77
+
> [!NOTE]
78
+
> You can inspect and edit your pipeline parameters by selecting the **Settings** gear icon next to the title of your pipeline draft.
84
79
85
-

80
+

86
81
87
82
## Publish a training pipeline
88
83
89
-
When you publish a pipeline, it creates a pipeline endpoint. Pipeline endpoints let you reuse and manage your pipelines for repeatability and automation. In this example, you have setup your pipeline for retraining.
84
+
When you publish a pipeline, it creates a pipeline endpoint. Pipeline endpoints let you reuse and manage your pipelines for repeatability and automation. In this example, you have set up your pipeline for retraining.
90
85
91
86
1. Select **Publish** above the designer canvas.
92
-
1. Select, or create, a new pipeline endpoint.
87
+
1. Select or create a pipeline endpoint.
93
88
94
-
> [!NOTE]
95
-
> You can publish multiple pipelines to a single endpoint. Each pipeline in the endpoint is given a version number, which you can specify when you call the pipeline endpoint.
89
+
> [!NOTE]
90
+
> You can publish multiple pipelines to a single endpoint. Each pipeline in the endpoint is given a version number, which you can specify when you call the pipeline endpoint.
96
91
97
92
1. Select **Publish**.
98
93
99
94
## Retrain your model
100
95
101
-
Now that you have a published training pipeline, you can use it to retrain your model using new data. You can submit runs from a pipeline endpoint from either portal or programatically.
96
+
Now that you have a published training pipeline, you can use it to retrain your model by using new data. You can submit runs from a pipeline endpoint from the Azure portal or submit them programmatically.
102
97
103
-
### Submit runs with the designer
98
+
### Submit runs by using the designer
104
99
105
100
Use the following steps to submit a pipeline endpoint run from the designer:
106
101
107
102
1. Go to the **Endpoints** page.
108
-
109
103
1. Select the **Pipeline endpoints** tab.
110
-
111
104
1. Select your pipeline endpoint.
112
-
113
105
1. Select the **Published pipelines** tab.
114
-
115
-
1. Select the pipeline you want to run.
116
-
106
+
1. Select the pipeline that you want to run.
117
107
1. Select **Submit**.
108
+
1. In the setup dialog box, you can specify a new value for the input data path value. This value points to your new dataset.
118
109
119
-
1. In the setup dialog, you can specify a new input data path value, which points to your new dataset.
120
-
121
-

110
+

122
111
123
-
### Submit runs with code
112
+
### Submit runs by using code
124
113
125
114
You can find the REST endpoint of a published pipeline in the overview panel. By calling the endpoint, you can retrain the published pipeline.
126
115
127
-
To make a REST call, you will need an OAuth 2.0 bearer-type authentication header. See the following [tutorial section](tutorial-pipeline-batch-scoring-classification.md#publish-and-run-from-a-rest-endpoint) for more detail on setting up authentication to your workspace and making a parameterized REST call.
116
+
To make a REST call, you need an OAuth 2.0 bearer-type authentication header. For information about setting up authentication to your workspace and making a parameterized REST call, see [Build an Azure Machine Learning pipeline for batch scoring](tutorial-pipeline-batch-scoring-classification.md#publish-and-run-from-a-rest-endpoint).
128
117
129
118
## Next steps
130
119
131
-
Follow the designer [tutorial](tutorial-designer-automobile-price-train-score.md) to train and deploy a regression model.
120
+
Follow the [designer tutorial](tutorial-designer-automobile-price-train-score.md) to train and deploy a regression model.
0 commit comments