Skip to content

Commit cab0818

Browse files
committed
edit pass: five-machine-learning-articles
1 parent e60c925 commit cab0818

File tree

1 file changed

+30
-41
lines changed

1 file changed

+30
-41
lines changed

articles/machine-learning/how-to-retrain-designer.md

Lines changed: 30 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -27,105 +27,94 @@ In this article, you learn how to:
2727
## Prerequisites
2828

2929
* An Azure subscription. If you don’t have an Azure subscription, create a [free account](https://aka.ms/AMLFree).
30-
3130
* An Azure Machine Learning workspace with the Enterprise SKU.
3231

3332
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).
3433

3534
### Sample pipeline
3635

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.
3837

39-
![Screenshot showing the modified sample pipeline with a box highlighting the Import Data module](./media/how-to-retrain-designer/modified-sample-pipeline.png)
38+
![Screenshot that shows the modified sample pipeline with a box highlighting the Import Data module](./media/how-to-retrain-designer/modified-sample-pipeline.png)
4039

4140
## Train a machine learning model
4241

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.
4443

4544
1. Select the **Import Data** module.
46-
1. In the properties pane, specify a data source.
47-
48-
![Screenshot showing a sample configuration of the Import Data module](./media/how-to-retrain-designer/import-data-settings.png)
45+
1. On the properties pane, specify a data source.
4946

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+
![Screenshot that shows a sample configuration of the Import Data module](./media/how-to-retrain-designer/import-data-settings.png)
5148

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**.
5350

51+
1. Specify the path to your data. You can also select **Browse path** to browse to your datastore.
5452
1. Select **Run** at the top of the canvas.
5553

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.
5856
59-
### Locate your trained model
57+
### Find your trained model
6058

6159
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:
6260

6361
1. Wait for the pipeline to finish running.
64-
6562
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.
6665

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-
![Screenshot showing how to download the trained model](./media/how-to-retrain-designer/trained-model-view-output.png)
66+
![Screenshot that shows how to download the trained model](./media/how-to-retrain-designer/trained-model-view-output.png)
7267

7368
## Create a pipeline parameter
7469

7570
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.
7671

7772
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.
7974
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.
8176

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.
8479
85-
![Screenshot showing how to create a pipeline parameter](media/how-to-retrain-designer/add-pipeline-parameter.png)
80+
![Screenshot that shows how to create a pipeline parameter](media/how-to-retrain-designer/add-pipeline-parameter.png)
8681

8782
## Publish a training pipeline
8883

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.
9085

9186
1. Select **Publish** above the designer canvas.
92-
1. Select, or create, a new pipeline endpoint.
87+
1. Select or create a pipeline endpoint.
9388

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.
9691
9792
1. Select **Publish**.
9893

9994
## Retrain your model
10095

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.
10297

103-
### Submit runs with the designer
98+
### Submit runs by using the designer
10499

105100
Use the following steps to submit a pipeline endpoint run from the designer:
106101

107102
1. Go to the **Endpoints** page.
108-
109103
1. Select the **Pipeline endpoints** tab.
110-
111104
1. Select your pipeline endpoint.
112-
113105
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.
117107
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.
118109

119-
1. In the setup dialog, you can specify a new input data path value, which points to your new dataset.
120-
121-
![Screenshot showing how to set up a parameterized pipeline run in the designer](./media/how-to-retrain-designer/published-pipeline-run.png)
110+
![Screenshot that shows how to set up a parameterized pipeline run in the designer](./media/how-to-retrain-designer/published-pipeline-run.png)
122111

123-
### Submit runs with code
112+
### Submit runs by using code
124113

125114
You can find the REST endpoint of a published pipeline in the overview panel. By calling the endpoint, you can retrain the published pipeline.
126115

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).
128117

129118
## Next steps
130119

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

Comments
 (0)