Skip to content

Commit 94ee160

Browse files
authored
Merge pull request #95444 from nibaccam/refresh
Article refresh
2 parents 670d1ba + fb22e1a commit 94ee160

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed

articles/machine-learning/service/how-to-monitor-tensorboard.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.subservice: core
88
ms.topic: conceptual
99
author: maxluk
1010
ms.author: maxluk
11-
ms.date: 06/28/2019
11+
ms.date: 11/08/2019
1212
---
1313

1414
# Visualize experiment runs and metrics with TensorBoard and Azure Machine Learning
@@ -36,16 +36,18 @@ How you launch TensorBoard with Azure Machine Learning experiments depends on th
3636

3737
* Complete the [Tutorial: Setup environment and workspace](tutorial-1st-experiment-sdk-setup.md) to create a dedicated notebook server pre-loaded with the SDK and the sample repository.
3838

39-
* In the samples folder on the notebook server, find two completed and expanded notebooks by navigating to this directory: **how-to-use-azureml > training-with-deep-learning**.
40-
* export-run-history-to-run-history.ipynb
41-
* tensorboard.ipynb
39+
* In the samples folder on the notebook server, find two completed and expanded notebooks by navigating to these directories:
40+
* **how-to-use-azureml > training-with-deep-learning > export-run-history-to-tensorboard > export-run-history-to-tensorboard.ipynb**
41+
42+
* **how-to-use-azureml > track-and-monitor-experiments > tensorboard.ipynb**
4243

4344
* Your own Juptyer notebook server
44-
* [Install the Azure Machine Learning SDK](https://docs.microsoft.com/python/api/overview/azure/ml/install?view=azure-ml-py) with the `tensorboard` extra
45-
* [Create an Azure Machine Learning workspace](how-to-manage-workspace.md).
46-
* [Create a workspace configuration file](how-to-configure-environment.md#workspace).
45+
* [Install the Azure Machine Learning SDK](https://docs.microsoft.com/python/api/overview/azure/ml/install?view=azure-ml-py) with the `tensorboard` extra
46+
* [Create an Azure Machine Learning workspace](how-to-manage-workspace.md).
47+
* [Create a workspace configuration file](how-to-configure-environment.md#workspace).
4748

4849
<a name="direct"></a>
50+
4951
## Option 1: Directly view run history in TensorBoard
5052

5153
This option works for experiments that natively outputs log files consumable by TensorBoard, such as PyTorch, Chainer, and TensorFlow experiments. If that is not the case of your experiment, use [the `export_to_tensorboard()` method](#export) instead.

articles/machine-learning/service/how-to-train-ml-models.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: machine-learning
99
ms.subservice: core
1010
ms.topic: conceptual
1111
ms.reviewer: sgilley
12-
ms.date: 04/19/2019
12+
ms.date: 11/08/2019
1313
ms.custom: seodec18
1414

1515
---
@@ -133,7 +133,8 @@ For a notebook that trains a scikit-learn model by using estimator, see:
133133
* [tutorials/img-classification-part1-training.ipynb](https://github.com/Azure/MachineLearningNotebooks/blob/master/tutorials/img-classification-part1-training.ipynb)
134134

135135
For notebooks on training models by using deep-learning-framework specific estimators, see:
136-
* [how-to-use-azureml/training-with-deep-learning](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/training-with-deep-learning)
136+
137+
* [how-to-use-azureml/ml-frameworks](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/ml-frameworks)
137138

138139
[!INCLUDE [aml-clone-in-azure-notebook](../../../includes/aml-clone-for-examples.md)]
139140

articles/machine-learning/service/how-to-use-secrets-in-runs.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@ ms.reviewer: larryfr
99
ms.service: machine-learning
1010
ms.subservice: core
1111
ms.topic: conceptual
12-
ms.date: 08/23/2019
12+
ms.date: 11/08/2019
1313
ms.custom: seodec18
1414

1515
---
1616

1717
# Use secrets in training runs
1818
[!INCLUDE [applies-to-skus](../../../includes/aml-applies-to-basic-enterprise-sku.md)]
1919

20-
In this article, you learn how to use secrets in training runs securely. For example, to connect to an external database to query training data, you would need to pass username and password to the remote run context. Coding such values into training scripts in cleartext is insecure as it would expose the secret.
20+
In this article, you learn how to use secrets in training runs securely. For example, to connect to an external database to query training data, you would need to pass your username and password to the remote run context. Coding such values into training scripts in cleartext is insecure as it would expose the secret.
2121

2222
Instead, your Azure Machine Learning Workspace has [Azure Key Vault](https://docs.microsoft.com/azure/key-vault/key-vault-overview) as associated resource. This Key Vault can be used for passing secrets to remote runs securely through a set of APIs in Azure Machine Learning Python SDK.
2323

2424
The basic flow for using secrets is:
2525
1. On local computer, log in to Azure and connect to your Workspace.
2626
2. On local computer, set a secret in Workspace Key Vault.
2727
3. Submit a remote run.
28-
4. Within remote run, get the secret from Key Value and use it.
28+
4. Within the remote run, get the secret from Key Value and use it.
2929

3030
## Set secrets
3131

32-
In Azure Machine Learning Python SDK, the [Keyvault](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py) class contains methods for setting secrets. In your local Python session, first obtain a reference to Workspace Key Vault, and then use [set_secret](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py#set-secret-name--value-) method to set a secret by name and value.
32+
In the Azure Machine Learning Python SDK, the [Keyvault](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py) class contains methods for setting secrets. In your local Python session, first obtain a reference to Workspace Key Vault, and then use [set_secret](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py#set-secret-name--value-) method to set a secret by name and value.
3333

3434
```python
3535
from azureml.core import Workspace
@@ -41,15 +41,15 @@ keyvault = ws.get_default_keyvault()
4141
keyvault.set_secret(name="mysecret", value = my_secret)
4242
```
4343

44-
Do not put the secret value in Python code as it is insecure to store it in file as cleartext. Instead, obtain the secret value from environment variable, for example Azure DevOps build secret, or from interactive user input.
44+
Do not put the secret value in your Python code as it is insecure to store it in file as cleartext. Instead, obtain the secret value from an environment variable, for example Azure DevOps build secret, or from interactive user input.
4545

46-
You can list secret names using [list_secrets](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py#list-secrets--) method. The __set_secret__ method updates the secret value if the name already exists.
46+
You can list secret names using the [list_secrets](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py#list-secrets--) method. The __set_secret__ method updates the secret value if the name already exists.
4747

4848
## Get secrets
4949

50-
In your local code, you can use [Keyvault.get_secret](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py#get-secret-name-) method to get the secret value by name.
50+
In your local code, you can use the[Keyvault.get_secret](https://docs.microsoft.com/python/api/azureml-core/azureml.core.keyvault.keyvault?view=azure-ml-py#get-secret-name-) method to get the secret value by name.
5151

52-
In runs submitted using [Experiment.submit](https://docs.microsoft.com/python/api/azureml-core/azureml.core.experiment.experiment?view=azure-ml-py#submit-config--tags-none----kwargs-), use [Run.get_secret](https://docs.microsoft.com/python/api/azureml-core/azureml.core.run.run?view=azure-ml-py#get-secret-name-) method. Because a submitted run is aware of its Workspace, this method shortcuts the Workspace instantiation and returns the secret value directly.
52+
In runs submitted using [Experiment.submit](https://docs.microsoft.com/python/api/azureml-core/azureml.core.experiment.experiment?view=azure-ml-py#submit-config--tags-none----kwargs-), use the [Run.get_secret](https://docs.microsoft.com/python/api/azureml-core/azureml.core.run.run?view=azure-ml-py#get-secret-name-) method. Because a submitted run is aware of its Workspace, this method shortcuts the Workspace instantiation and returns the secret value directly.
5353

5454
```python
5555
# Code in submitted run

0 commit comments

Comments
 (0)