Skip to content

Commit 36eccb0

Browse files
authored
Merge pull request #109901 from sdgilley/sdg-remove-portal
use studio for results, not portal
2 parents e2185e0 + c0ddf3e commit 36eccb0

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed
5.74 KB
Loading
7.15 KB
Loading

articles/machine-learning/tutorial-1st-experiment-sdk-train.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In this tutorial, you learn the following tasks:
2323
> [!div class="checklist"]
2424
> * Connect your workspace and create an experiment
2525
> * Load data and train scikit-learn models
26-
> * View training results in the portal
26+
> * View training results in the studio
2727
> * Retrieve the best model
2828
2929
## Prerequisites
@@ -120,32 +120,33 @@ The above code accomplishes the following:
120120

121121
1. For each alpha hyperparameter value in the `alphas` array, a new run is created within the experiment. The alpha value is logged to differentiate between each run.
122122
1. In each run, a Ridge model is instantiated, trained, and used to run predictions. The root-mean-squared-error is calculated for the actual versus predicted values, and then logged to the run. At this point the run has metadata attached for both the alpha value and the rmse accuracy.
123-
1. Next, the model for each run is serialized and uploaded to the run. This allows you to download the model file from the run in the portal.
123+
1. Next, the model for each run is serialized and uploaded to the run. This allows you to download the model file from the run in the studio.
124124
1. At the end of each iteration the run is completed by calling `run.complete()`.
125125

126-
After the training has completed, call the `experiment` variable to fetch a link to the experiment in the portal.
126+
After the training has completed, call the `experiment` variable to fetch a link to the experiment in the studio.
127127

128128
```python
129129
experiment
130130
```
131131

132-
<table style="width:100%"><tr><th>Name</th><th>Workspace</th><th>Report Page</th><th>Docs Page</th></tr><tr><td>diabetes-experiment</td><td>your-workspace-name</td><td>Link to Azure portal</td><td>Link to Documentation</td></tr></table>
132+
<table style="width:100%"><tr><th>Name</th><th>Workspace</th><th>Report Page</th><th>Docs Page</th></tr><tr><td>diabetes-experiment</td><td>your-workspace-name</td><td>Link to Azure Machine Learning studio</td><td>Link to Documentation</td></tr></table>
133133

134-
## View training results in portal
134+
## View training results in studio
135135

136-
Following the **Link to Azure portal** takes you to the main experiment page. Here you see all the individual runs in the experiment. Any custom-logged values (`alpha_value` and `rmse`, in this case) become fields for each run, and also become available for the charts and tiles at the top of the experiment page. To add a logged metric to a chart or tile, hover over it, click the edit button, and find your custom-logged metric.
136+
Following the **Link to Azure Machine Learning studio** takes you to the main experiment page. Here you see all the individual runs in the experiment. Any custom-logged values (`alpha_value` and `rmse`, in this case) become fields for each run, and also become available for the charts and tiles at the top of the experiment page. To add a logged metric to a chart or tile, hover over it, click the edit button, and find your custom-logged metric.
137137

138138
When training models at scale over hundreds and thousands of separate runs, this page makes it easy to see every model you trained, specifically how they were trained, and how your unique metrics have changed over time.
139139

140-
![Main Experiment page in Portal](./media/tutorial-1st-experiment-sdk-train/experiment-main.png)
140+
:::image type="content" source="./media/tutorial-1st-experiment-sdk-train/experiment-main.png" alt-text="Main Experiment page in the studio.":::
141141

142-
Clicking on a run number link in the `RUN NUMBER` column takes you to the page for each individual run. The default tab **Details** shows you more-detailed information on each run. Navigate to the **Outputs** tab, and you see the `.pkl` file for the model that was uploaded to the run during each training iteration. Here you can download the model file, rather than having to retrain it manually.
143142

144-
![Run details page in Portal](./media/tutorial-1st-experiment-sdk-train/model-download.png)
143+
Select a run number link in the `RUN NUMBER` column to see the page for an individual run. The default tab **Details** shows you more-detailed information on each run. Navigate to the **Outputs + logs** tab, and you see the `.pkl` file for the model that was uploaded to the run during each training iteration. Here you can download the model file, rather than having to retrain it manually.
144+
145+
:::image type="content" source="./media/tutorial-1st-experiment-sdk-train/model-download.png" alt-text="Run details page in the studio.":::
145146

146147
## Get the best model
147148

148-
In addition to being able to download model files from the experiment in the portal, you can also download them programmatically. The following code iterates through each run in the experiment, and accesses both the logged run metrics and the run details (which contains the run_id). This keeps track of the best run, in this case the run with the lowest root-mean-squared-error.
149+
In addition to being able to download model files from the experiment in the studio, you can also download them programmatically. The following code iterates through each run in the experiment, and accesses both the logged run metrics and the run details (which contains the run_id). This keeps track of the best run, in this case the run with the lowest root-mean-squared-error.
149150

150151
```python
151152
minimum_rmse_runid = None
@@ -210,7 +211,7 @@ In this tutorial, you did the following tasks:
210211
> [!div class="checklist"]
211212
> * Connected your workspace and created an experiment
212213
> * Loaded data and trained scikit-learn models
213-
> * Viewed training results in the portal and retrieved models
214+
> * Viewed training results in the studio and retrieved models
214215
215216
[Deploy your model](tutorial-deploy-models-with-aml.md) with Azure Machine Learning.
216217
Learn how to develop [automated machine learning](tutorial-auto-train-models.md) experiments.

0 commit comments

Comments
 (0)