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-cloud-workstation.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,8 +103,8 @@ In order for your script to run, you need to be working in an environment config
103
103
conda activate workstation_env
104
104
```
105
105
106
-
> [!NOTE]
107
-
> If you see a CommandNotFoundError, follow instructions to run `conda init bash`, close the terminal, and open a new one. Then retry the `conda activate workstation_env` command.
106
+
> [!NOTE]
107
+
> If you see a CommandNotFoundError, follow instructions to run `conda init bash`, close the terminal, and open a new one. Then retry the `conda activate workstation_env` command.
108
108
109
109
1. Validate the correct environment is active, again looking for the environment marked with a *.
110
110
@@ -127,16 +127,12 @@ You now have a new kernel. Next you'll open a notebook and use this kernel.
127
127
1. On the top menu bar, select **File > New File**.
128
128
1. Name your new file **develop-tutorial.ipynb** (or enter your preferred name). Make sure you use the **.ipynb** extension.
129
129
130
-
:::image type="content" source="media/tutorial-cloud-workstation/vs-code-new-file.gif" alt-text="Screenshot: Create new file.":::
131
-
132
130
## Set the kernel
133
131
134
132
1. On the top right, select **Select kernel**.
135
133
1. Select **Azure ML compute instance (computeinstance-name)**.
136
134
1. Select the kernel you created, **Tutorial Workstation Env**. If you don't see it, selectthe**Refresh** tool at the top right.
137
135
138
-
:::image type="content" source="media/tutorial-cloud-workstation/select-kernel.gif" alt-text="Screenshot shows selecting the new kernel.":::
139
-
140
136
## Develop a training script
141
137
142
138
In this section, you develop a Python training script that predicts credit card default payments, using the prepared test and training datasets from the [UCI dataset](https://archive.ics.uci.edu/ml/datasets/default+of+credit+card+clients).
@@ -203,7 +199,7 @@ Now that you've tried two different models, use the results tracked by `MLFfow`
203
199
204
200
Now create a Python script from your notebook for model training.
205
201
206
-
1. In your VS Code window, rightclick on the notebook filename and select**Import Notebook to Script**.
202
+
1. In your VS Code window, right-click on the notebook filename and select**Import Notebook to Script**.
207
203
208
204
1. Use the menu **File > Save** to save this new script file. Call it **train.py**.
209
205
1. Look through this file and delete the code you don't want in the training script. For example, keep the code for the model you wish to use, and delete code for the model you don't want.
@@ -228,7 +224,7 @@ For now, you're running this code on your compute instance, which is your Azure
228
224
:::image type="content" source="media/tutorial-cloud-workstation/run-python.png" alt-text="Screenshot shows the Run Python File tool at the top right of the screen.":::
229
225
230
226
> [!NOTE]
231
-
> You can ignore the mlflow warnings. You'll still get all the metric and images from autologging.
227
+
> You can ignore the mlflow warnings. You'll still get all the metrics and images from autologging.
0 commit comments