Skip to content

Commit d209c55

Browse files
committedJan 29, 2021
update hyparameter tuning images
1 parent 00a2636 commit d209c55

7 files changed

+17
-8
lines changed
 

‎articles/machine-learning/how-to-tune-hyperparameters.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Hyperparameter tuning a model
33
titleSuffix: Azure Machine Learning
44
description: Automate hyperparameter tuning for deep learning and machine learning models using Azure Machine Learning.
5-
ms.author: swatig
6-
author: swatig007
5+
ms.author: anumamah
6+
author: Aniththa
77
ms.reviewer: sgilley
88
services: machine-learning
99
ms.service: machine-learning
@@ -16,7 +16,6 @@ ms.custom: how-to, devx-track-python, contperf-fy21q1
1616

1717
# Hyperparameter tuning a model with Azure Machine Learning
1818

19-
2019
Automate efficient hyperparameter tuning by using Azure Machine Learning [HyperDrive package](/python/api/azureml-train-core/azureml.train.hyperdrive?preserve-view=true&view=azure-ml-py). Learn how to complete the steps required to tune hyperparameters with the [Azure Machine Learning SDK](/python/api/overview/azure/ml/?preserve-view=true&view=azure-ml-py):
2120

2221
1. Define the parameter search space
@@ -388,15 +387,25 @@ RunDetails(hyperdrive_run).show()
388387

389388
This code displays a table with details about the training runs for each of the hyperparameter configurations.
390389

391-
![hyperparameter tuning table](./media/how-to-tune-hyperparameters/hyperparameter-tuning-table.png)
390+
:::image type="content" source="media/how-to-tune-hyperparameters/hyperparameter-tuning-table.png" alt-text="Hyperparameter tuning table":::
391+
392+
You can also visualize the performance of each of the runs as training progresses.
393+
394+
1. **Metrics chart**: This visualization tracks the metrics logged for each hyperdrive child run over the duration of hyperparameter tuning. Each line represents a child run, and each point measures the primary metric value at that iteration of runtime.
395+
396+
:::image type="content" source="media/how-to-tune-hyperparameters/hyperparameter-tuning-metrics.png" alt-text="Hyperparameter tuning metrics chart":::
397+
398+
1. **Parallel Coordinates Chart**: This visualization shows the correlation between primary metric performance and individual hyperparameter values. The chart is interactive via movement of axes (click and drag by the axis label), and by highlighting values across a single axis (click and drag vertically along a single axis to highlight a range of desired values).
399+
400+
:::image type="content" source="media/how-to-tune-hyperparameters/hyperparameter-tuning-parallel-coordinates.png" alt-text="Hyperparameter tuning parallel coordinaites chart":::
392401

393-
You can also visualize the performance of each of the runs as training progresses.
402+
1. **2-Dimensional Scatter Chart**: This visualization shows the correlation between any two individual hyperparameters along with their associated primary metric value.
394403

395-
![hyperparameter tuning plot](./media/how-to-tune-hyperparameters/hyperparameter-tuning-plot.png)
404+
:::image type="content" source="media/how-to-tune-hyperparameters/hyperparameter-tuning-2-dimensional-scatter.png" alt-text="Hyparameter tuning 2-dimensional scatter chart":::
396405

397-
You can visually identify the correlation between performance and values of individual hyperparameters by using a Parallel Coordinates Plot.
406+
1. **3-Dimensional Scatter Chart**: This visualization is the same as 2D but allows for three hyperparameter dimensions of correlation with the primary metric value. You can also click and drag to reorient the chart to view different correlations in 3D space.
398407

399-
[![hyperparameter tuning parallel coordinates](./media/how-to-tune-hyperparameters/hyperparameter-tuning-parallel-coordinates.png)](media/how-to-tune-hyperparameters/hyperparameter-tuning-parallel-coordinates-expanded.png)
408+
:::image type="content" source="media/how-to-tune-hyperparameters/hyperparameter-tuning-3-dimensional-scatter.png" alt-text="Hyparameter tuning 3-dimensional scatter chart":::
400409

401410
You can also visualize all of your hyperparameter tuning runs in the Azure web portal. For more information on how to view an experiment in the portal, see [how to track experiments](how-to-monitor-view-training-logs.md#view-the-experiment-in-the-web-portal).
402411

0 commit comments

Comments
 (0)