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/tutorial-first-experiment-automated-ml.md
+47-46Lines changed: 47 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,30 +156,31 @@ A compute target is a local or cloud-based resource environment used to run your
156
156
> [!NOTE]
157
157
> To use serverless compute, [enable the preview feature](./how-to-use-serverless-compute.md#how-to-use-serverless-compute), select **Serverless**, and skip this procedure.
158
158
159
-
1. To create your own compute target, in **Select compute type**, select **Compute instance** to configure your compute target.
159
+
1. To create your own compute target, in **Select compute type**, select **Compute cluster** to configure your compute target.
160
160
161
-
1. Populate the **Configure required settings** form to set up your compute. Select **New**.
161
+
1. Populate the **Virtual Machine** form to set up your compute. Select **New**.
162
162
163
163
| Field | Description | Value for tutorial |
164
164
|:----|:---|:---|
165
-
| Compute name | A unique name that identifies your compute context. | automl-compute |
166
-
| Virtual machine type | Select the virtual machine type for your compute.| CPU (Central Processing Unit)
167
-
| Virtual machine size| Select the virtual machine size for your compute. A list of recommended sizes is provided based on your data and experiment type. |Standard_DS12_V2 |
165
+
| Location | Your region that you'd like to run the machine from |West US 2
166
+
| Virtual machine tier |Select what priority your experiment should have| Dedicated
167
+
| Virtual machine type| Select the virtual machine type for your compute.|CPU (Central Processing Unit)
168
+
| Virtual machine size| Select the virtual machine size for your compute. A list of recommended sizes is provided based on your data and experiment type. |Standard_DS12_V2
168
169
169
-
If you choose to create a compute cluster, you might need to enter values for these fields:
170
+
1. Select **Next**to go to the **Advanced Settings** form.
170
171
171
172
| Field | Description | Value for tutorial |
172
173
|:----|:---|:---|
173
174
| Compute name | A unique name that identifies your compute context. | automl-compute |
174
-
| Min / Max nodes| To profile data, you must specify one or more nodes. | Min nodes: 1<br>Max nodes: 6
175
-
| Idle seconds before scale down | Idle time before the cluster is automatically scaled down to the minimum node count.|120 (default) |
176
-
| Advanced settings | Settings to configure and authorize a virtual network for your experiment.| None |
175
+
| Min / Max nodes| To profile data, you must specify 1 or more nodes. | Min nodes: 1<br>Max nodes: 6|
176
+
| Idle seconds before scale down | Idle time before the cluster is automatically scaled down to the minimum node count.|120 (default) |
177
+
| Advanced settings | Settings to configure and authorize a virtual network for your experiment.| None |
177
178
178
-
1. Select **Review + Create**, then **Create** to create your compute target.
1. After creation, select your new compute target from the list. Select **Next**.
185
186
@@ -193,91 +194,91 @@ A compute target is a local or cloud-based resource environment used to run your
193
194
194
195
## Explore models
195
196
196
-
Navigate to the **Models + child jobs** tab to see the algorithms (models) tested. By default, the job orders the models by metric score as they complete. For this tutorial, the model that scores the highest based on the chosen **AUC_weighted** metric is at the top of the list.
197
+
Navigate to the **Models + child jobs** tab to see the algorithms (models) tested. By default, the job orders the models by metric score as they complete. For this tutorial, the model that scores the highest based on the chosen **AUCWeighted** metric is at the top of the list.
197
198
198
-
While you wait for all of the experiment models to finish, select the **Algorithm name** of a completed model to explore its performance details.
199
+
While you wait for all of the experiment models to finish, select the **Algorithm name** of a completed model to explore its performance details. Select the **Overiew** and the **Metrics** tabs for information about the job.
199
200
200
-
The following navigates through the **Details** and the **Metrics** tabs to view the selected model's properties, metrics, and performance charts.
201
+
The following animation views the selected model's properties, metrics, and performance charts.
While you wait for the models to complete, you can also take a look at model explanations and see which data features (raw or engineered) influenced a particular model's predictions.
207
+
While you wait for the models to complete, you can also take a look at model explanations and see which data features (raw or engineered) influenced a particular model's predictions.
207
208
208
209
These model explanations can be generated on demand, and are summarized in the model explanations dashboard that's part of the **Explanations (preview)** tab.
209
210
210
211
To generate model explanations:
211
-
212
-
1.Select **Job 1**at the top to navigate back to the **Models** screen.
213
-
1. Select the **Models** tab.
212
+
213
+
1.In the navigation links at the top of the page, select the job name to go back to the **Models** screen.
214
+
1. Select the **Models + child jobs** tab.
214
215
1. For this tutorial, select the first **MaxAbsScaler, LightGBM** model.
215
-
1. Select the **Explain model** button at the top. On the right, the **Explain model** pane appears.
216
-
1. Select your compute type and then select the instance or cluster: **automl-compute** that you created previously. This compute initiates a child job to generate the model explanations.
216
+
1. Select **Explain model**. On the right, the **Explain model** pane appears.
217
+
1. Select your compute type and then select the instance or cluster: **automl-compute** that you created previously. This compute starts a child job to generate the model explanations.
217
218
1. Select **Create**. A green success message appears.
218
219
219
220
>[!NOTE]
220
221
> The explainability job takes about 2-5 minutes to complete.
221
222
222
-
1. Select **Explanations (preview)**. This tab populates once the explainability run completes.
223
+
1. Select **Explanations (preview)**. This tab populates after the explainability run completes.
223
224
1. On the left, expand the pane. Under **Features**, select the row that says **raw**.
224
225
1. Select the **Aggregate feature importance** tab. This chart shows which data features influenced the predictions of the selected model.
225
226
226
-
In this example, the *duration* appears to have the most influence on the predictions of this model.
In this example, the *duration* appears to have the most influence on the predictions of this model.
230
+
230
231
## Deploy the best model
231
232
232
-
The automated machine learning interface allows you to deploy the best model as a web service in a few steps. Deployment is the integration of the model so it can predict on new data and identify potential areas of opportunity.
233
+
The automated machine learning interface allows you to deploy the best model as a web service in a few steps. Deployment is the integration of the model so it can predict on new data and identify potential areas of opportunity.
233
234
234
-
For this experiment, deployment to a web service means that the financial institution now has an iterative and scalable web solution for identifying potential fixed term deposit customers.
235
+
For this experiment, deployment to a web service means that the financial institution now has an iterative and scalable web solution for identifying potential fixed term deposit customers.
235
236
236
-
Check to see if your experiment run is complete. To do so, navigate back to the parent job page by selecting **Job 1**at the top of your screen. A **Completed** status is shown on the top left of the screen.
237
+
Check to see if your experiment run is complete. To do so, navigate back to the parent job page by selecting the job name at the top of your screen. A **Completed** status is shown on the top left of the screen.
237
238
238
-
Once the experiment run is complete, the **Details** page is populated with a **Best model summary** section. In this experiment context, **VotingEnsemble** is considered the best model, based on the **AUC_weighted** metric.
239
+
After the experiment run is complete, the **Details** page is populated with a **Best model summary** section. In this experiment context, **VotingEnsemble** is considered the best model, based on the **AUCWeighted** metric.
239
240
240
-
We deploy this model. Deployment takes about 20 minutes to complete. The deployment process entails several steps including registering the model, generating resources, and configuring them for the web service.
241
+
Deploy this model. Deployment takes about 20 minutes to complete. The deployment process entails several steps including registering the model, generating resources, and configuring them for the web service.
241
242
242
243
1. Select **VotingEnsemble** to open the model-specific page.
243
244
244
-
1. Select the **Deploy**menu in the top-left and select **Deploy to web service**.
245
+
1. Select **Deploy**> **Web service**.
245
246
246
247
1. Populate the **Deploy a model** pane as follows:
247
248
248
-
Field| Value
249
-
----|----
250
-
Deployment name| my-automl-deploy
251
-
Deployment description| My first automated machine learning experiment deployment
252
-
Compute type | Select Azure Container Instance (ACI)
253
-
Enable authentication| Disable.
254
-
Use custom deployments| Disable. Allows for the default driver file (scoring script) and environment file to be autogenerated.
255
-
256
-
For this example, we use the defaults provided in the *Advanced* menu.
249
+
| Field| Value|
250
+
|:----|:----|
251
+
| Name | my-automl-deploy|
252
+
| Description | My first automated machine learning experiment deployment|
253
+
| Compute type | Select Azure Container Instance |
254
+
| Enable authentication| Disable. |
255
+
| Use custom deployment assets | Disable. Allows for the default driver file (scoring script) and environment file to be autogenerated. |
256
+
257
+
For this example, use the defaults provided in the **Advanced** menu.
257
258
258
259
1. Select **Deploy**.
259
260
260
-
A green success message appears at the top of the **Job** screen, and in the **Model summary** pane, a status message appears under **Deploy status**. Select **Refresh** periodically to check the deployment status.
261
-
262
-
Now you have an operational web service to generate predictions.
261
+
A green success message appears at the top of the **Job** screen, and in the **Model summary** pane, a status message appears under **Deploy status**. Select **Refresh** periodically to check the deployment status.
262
+
263
+
Now you have an operational web service to generate predictions.
263
264
264
-
Proceed to the [**Next Steps**](#next-steps) to learn more about how to consume your new web service, and test your predictions using Power BI built in Azure Machine Learning support.
265
+
Proceed to the [Related content](#related-content) to learn more about how to consume your new web service, and test your predictions using Power BI built in Azure Machine Learning support.
265
266
266
267
## Clean up resources
267
268
268
269
Deployment files are larger than data and experiment files, so they cost more to store. Delete only the deployment files to minimize costs to your account, or if you want to keep your workspace and experiment files. Otherwise, delete the entire resource group, if you don't plan to use any of the files.
269
270
270
271
### Delete the deployment instance
271
272
272
-
Delete just the deployment instance from Azure Machine Learning at https:\//ml.azure.com/, if you want to keep the resource group and workspace for other tutorials and exploration.
273
+
Delete just the deployment instance from Azure Machine Learning at https:\//ml.azure.com/, if you want to keep the resource group and workspace for other tutorials and exploration.
273
274
274
275
1. Go to [Azure Machine Learning](https://ml.azure.com/). Navigate to your workspace and under the **Assets** pane, select **Endpoints**.
275
276
276
-
1. Select the deployment you want to delete and select **Delete**.
277
+
1. Select the deployment you want to delete and select **Delete**.
0 commit comments