Skip to content

Commit 02130db

Browse files
Freshness.
1 parent 5e2f403 commit 02130db

File tree

4 files changed

+47
-46
lines changed

4 files changed

+47
-46
lines changed
-13.6 KB
Loading
-53.5 KB
Loading
-14.9 KB
Loading

articles/machine-learning/tutorial-first-experiment-automated-ml.md

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -156,30 +156,31 @@ A compute target is a local or cloud-based resource environment used to run your
156156
> [!NOTE]
157157
> 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.
158158
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.
160160

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

163163
| Field | Description | Value for tutorial |
164164
|:----|:---|:---|
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
168169

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

171172
| Field | Description | Value for tutorial |
172173
|:----|:---|:---|
173174
| 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 |
177178

178-
1. Select **Review + Create**, then **Create** to create your compute target.
179+
:::image type="content" source="./media/tutorial-first-experiment-automated-ml/compute-settings.png" alt-text="Settings page":::
179180

180-
Creating a compute can take minutes to complete.
181+
1. Select **Create**.
181182

182-
:::image type="content" source="./media/tutorial-first-experiment-automated-ml/compute-settings.png" alt-text="Settings page":::
183+
Creating a compute can take minutes to complete.
183184

184185
1. After creation, select your new compute target from the list. Select **Next**.
185186

@@ -193,91 +194,91 @@ A compute target is a local or cloud-based resource environment used to run your
193194
194195
## Explore models
195196

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

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

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

202203
![Run iteration detail](./media/tutorial-first-experiment-automated-ml/run-detail.gif)
203204

204205
## View model explanations
205206

206-
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.
207208

208209
These model explanations can be generated on demand, and are summarized in the model explanations dashboard that's part of the **Explanations (preview)** tab.
209210

210211
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.
214215
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.
217218
1. Select **Create**. A green success message appears.
218219

219220
>[!NOTE]
220221
> The explainability job takes about 2-5 minutes to complete.
221222
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.
223224
1. On the left, expand the pane. Under **Features**, select the row that says **raw**.
224225
1. Select the **Aggregate feature importance** tab. This chart shows which data features influenced the predictions of the selected model.
225226

226-
In this example, the *duration* appears to have the most influence on the predictions of this model.
227-
228227
:::image type="content" source="media/tutorial-first-experiment-automated-ml/model-explanation-dashboard.png" alt-text="Model explanation dashboard":::
229228

229+
In this example, the *duration* appears to have the most influence on the predictions of this model.
230+
230231
## Deploy the best model
231232

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

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

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

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

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

242243
1. Select **VotingEnsemble** to open the model-specific page.
243244

244-
1. Select the **Deploy** menu in the top-left and select **Deploy to web service**.
245+
1. Select **Deploy** > **Web service**.
245246

246247
1. Populate the **Deploy a model** pane as follows:
247248

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

258259
1. Select **Deploy**.
259260

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

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

266267
## Clean up resources
267268

268269
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.
269270

270271
### Delete the deployment instance
271272

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

274275
1. Go to [Azure Machine Learning](https://ml.azure.com/). Navigate to your workspace and under the **Assets** pane, select **Endpoints**.
275276

276-
1. Select the deployment you want to delete and select **Delete**.
277+
1. Select the deployment you want to delete and select **Delete**.
277278

278279
1. Select **Proceed**.
279280

280-
## Clean up resources
281+
### Delete the resource group
281282

282283
[!INCLUDE [aml-delete-resource-group](includes/aml-delete-resource-group.md)]
283284

0 commit comments

Comments
 (0)