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-1st-experiment-sdk-train.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ In this tutorial, you learn the following tasks:
23
23
> [!div class="checklist"]
24
24
> * Connect your workspace and create an experiment
25
25
> * Load data and train scikit-learn models
26
-
> * View training results in the portal
26
+
> * View training results in the studio
27
27
> * Retrieve the best model
28
28
29
29
## Prerequisites
@@ -120,10 +120,10 @@ The above code accomplishes the following:
120
120
121
121
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.
122
122
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.
124
124
1. At the end of each iteration the run is completed by calling `run.complete()`.
125
125
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.
127
127
128
128
```python
129
129
experiment
@@ -137,15 +137,15 @@ Following the **Link to Azure Machine Learning studio** takes you to the main ex
137
137
138
138
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.
139
139
140
-

140
+

141
141
142
142
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.
143
143
144
-

144
+

145
145
146
146
## Get the best model
147
147
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.
148
+
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.
149
149
150
150
```python
151
151
minimum_rmse_runid =None
@@ -210,7 +210,7 @@ In this tutorial, you did the following tasks:
210
210
> [!div class="checklist"]
211
211
> * Connected your workspace and created an experiment
212
212
> * Loaded data and trained scikit-learn models
213
-
> * Viewed training results in the portal and retrieved models
213
+
> * Viewed training results in the studio and retrieved models
214
214
215
215
[Deploy your model](tutorial-deploy-models-with-aml.md) with Azure Machine Learning.
216
216
Learn how to develop [automated machine learning](tutorial-auto-train-models.md) experiments.
0 commit comments