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/iot-edge/tutorial-machine-learning-edge-04-train-model.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@ ms.topic: tutorial
9
9
ms.service: iot-edge
10
10
services: iot-edge
11
11
---
12
-
13
12
# Tutorial: Train and deploy an Azure Machine Learning model
14
13
15
14
> [!NOTE]
@@ -73,7 +72,7 @@ We will upload sample notebook files into a new Azure Notebooks project.
73
72
74
73
### Azure notebook files
75
74
76
-
Let's review the files you uploaded into your Azure Notebooks project. The activities in this portion of the tutorial span across two notebook files which use a few supporting files.
75
+
Let's review the files you uploaded into your Azure Notebooks project. The activities in this portion of the tutorial span across two notebook files, which use a few supporting files.
77
76
78
77
***01-turbofan\_regression.ipynb:** This notebook uses the Machine Learning service workspace to create and run a machine learning experiment. Broadly, the notebook does the following steps:
79
78
@@ -119,19 +118,15 @@ Now that the project is created, run the **01-turbofan\_regression.ipynb** noteb
119
118
120
119
Follow the instructions in the notebook. You can also use run options from the **Cell** menu, `Ctrl` + `Enter` to run a cell, and `Shift` + `Enter` to run a cell and advance to the next cell.
121
120
122
-
1. Scroll down to the cell that immediately follows the **Create a workspace** overview text and run that cell. In the cell's output, look for the link that instructs you to sign in to authenticate.
121
+
1. Scroll down to the cell that immediately follows the **Create a workspace** overview text and run that cell. In the cell's output, look for the link that instructs you to sign in to authenticate.
123
122
124
123

125
124
126
-
Open the link and enter the specified code to authenticate the application on the device by the Microsoft Azure Cross-Platform Command Line Interface.
125
+
Open the link and enter the specified code. This sign-in procedure authenticates the Jupyter notebook to access Azure resources using the Microsoft Azure Cross-Platform Command Line Interface.
127
126
128
127

129
128
130
-
1. Scroll down through the notebook, run the cells, and review how the cell operations are completed.
131
-
132
-
If you see variables or objects that are not defined, run the cells where they are first declared or instantiated.
133
-
134
-
For information about debugging, see [Debug notebooks using Visual Studio Code](../notebooks/tutorial-create-run-jupyter-notebook.md#debug-notebooks-using-visual-studio-code).
129
+
1. From the **Cell** menu, select **Run All**. Scroll back up through the notebook and review how the cell operations are completed.
135
130
136
131
1. In the **Explore the data** section, you can review cells in the **Sensor readings and RUL** subsection that render scatterplots of sensor measurements.
137
132
@@ -141,6 +136,12 @@ Now that the project is created, run the **01-turbofan\_regression.ipynb** noteb
141
136
142
137
1. Open **02-turbofan\_deploy\_model.ipynb** and repeat the steps in this section to run the second notebook.
143
138
139
+
### Debugging
140
+
141
+
You can inset Python statements into the notebook for debugging, mainly the `print()` command. If you see variables or objects that are not defined, run the cells where they are first declared or instantiated.
142
+
143
+
For information about debugging notebooks in Visual Studio Code, see [Debug notebooks using Visual Studio Code](../notebooks/tutorial-create-run-jupyter-notebook.md#debug-notebooks-using-visual-studio-code) and [Working with Jupyter Notebooks in Visual Studio Code](https://code.visualstudio.com/docs/python/jupyter-support).
144
+
144
145
## Next steps
145
146
146
147
In this article, we used two Jupyter Notebooks running in Azure Notebooks to use the data from the turbofan devices to train a remaining useful life (RUL) classifier, to save the classifier as a model, to create a container image, and to deploy and test the image as a web service.
0 commit comments