Skip to content

Commit 04420a2

Browse files
Merge pull request #252918 from sdgilley/sdg-updates
update custom environment yml file
2 parents d2a268e + aaea0df commit 04420a2

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

articles/machine-learning/tutorial-cloud-workstation.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.topic: tutorial
1010
author: lebaro-msft
1111
ms.author: lebaro
1212
ms.reviewer: sgilley
13-
ms.date: 03/15/2023
13+
ms.date: 09/26/2023
1414
#Customer intent: As a data scientist, I want to know how to prototype and develop machine learning models on a cloud workstation.
1515
---
1616

@@ -46,7 +46,8 @@ In order for your script to run, you need to be working in an environment config
4646

4747
Files you upload are stored in an Azure file share, and these files are mounted to each compute instance and shared within the workspace.
4848

49-
1. Download this conda environment file, [*workstation_env.yml*](https://azuremlexampledata.blob.core.windows.net/datasets/workstation_env.yml) to your computer.
49+
1. Download this conda environment file, [*workstation_env.yml*](https://github.com/Azure/azureml-examples/blob/main/tutorials/get-started-notebooks/workstation_env.yml) to your computer by using the **Download raw file** button at the top right.
50+
<!-- use this link instead once it works again [*workstation_env.yml*](https://azuremlexampledata.blob.core.windows.net/datasets/workstation_env.yml) to your computer. -->
5051
1. Select **Add files**, then select **Upload files** to upload it to your workspace.
5152

5253
:::image type="content" source="media/tutorial-cloud-workstation/upload-files.png" alt-text="Screenshot shows how to upload files to your workspace.":::
@@ -55,10 +56,9 @@ In order for your script to run, you need to be working in an environment config
5556
1. Select **workstation_env.yml** file you downloaded.
5657
1. Select **Upload**.
5758

58-
You'll see the *workstation_env.yml* file under your username folder in the **Files** tab. Select this file to preview it, and see what dependencies it specifies.
59-
60-
:::image type="content" source="media/tutorial-cloud-workstation/view-yml.png" alt-text="Screenshot shows the yml file that you uploaded.":::
59+
You'll see the *workstation_env.yml* file under your username folder in the **Files** tab. Select this file to preview it, and see what dependencies it specifies. You'll see contents like this:
6160

61+
::: code language="yml" source="~/azureml-examples-main//tutorials/get-started-notebooks/workstation_env.yml" :::
6262

6363
* **Create a kernel.**
6464

@@ -150,12 +150,18 @@ This code uses `sklearn` for training and MLflow for logging the metrics.
150150
151151
[!notebook-python[] (~/azureml-examples-main/tutorials/get-started-notebooks/cloud-workstation.ipynb?name=gbt)]
152152
153+
> [!NOTE]
154+
> You can ignore the mlflow warnings. You'll still get all the results you need tracked.
155+
153156
## Iterate
154157

155158
Now that you have model results, you may want to change something and try again. For example, try a different classifier technique:
156159

157160
[!notebook-python[] (~/azureml-examples-main/tutorials/get-started-notebooks/cloud-workstation.ipynb?name=ada)]
158161

162+
> [!NOTE]
163+
> You can ignore the mlflow warnings. You'll still get all the results you need tracked.
164+
159165
## Examine results
160166
161167
Now that you've tried two different models, use the results tracked by `MLFfow` to decide which model is better. You can reference metrics like accuracy, or other indicators that matter most for your scenarios. You can dive into these results in more detail by looking at the jobs created by `MLflow`.
@@ -226,6 +232,9 @@ For now, you're running this code on your compute instance, which is your Azure
226232
python train.py
227233
```
228234
235+
> [!NOTE]
236+
> You can ignore the mlflow warnings. You'll still get all the metric and images from autologging.
237+
229238
## Examine script results
230239
231240
Go back to **Jobs** to see the results of your training script. Keep in mind that the training data changes with each split, so the results differ between runs as well.

0 commit comments

Comments
 (0)