Skip to content

Commit 159607e

Browse files
committed
minor edits
1 parent 0b4fb78 commit 159607e

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

articles/iot-edge/tutorial-machine-learning-edge-04-train-model.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
1111
---
12-
1312
# Tutorial: Train and deploy an Azure Machine Learning model
1413

1514
> [!NOTE]
@@ -73,7 +72,7 @@ We will upload sample notebook files into a new Azure Notebooks project.
7372

7473
### Azure notebook files
7574

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.
7776

7877
* **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:
7978

@@ -119,19 +118,15 @@ Now that the project is created, run the **01-turbofan\_regression.ipynb** noteb
119118

120119
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.
121120

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.
123122

124123
![Sign in prompt for device authentication](media/tutorial-machine-learning-edge-04-train-model/sign-in-prompt.png)
125124

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.
127126

128127
![Authenticate application on device confirmation](media/tutorial-machine-learning-edge-04-train-model/cross-platform-cli.png)
129128

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.
135130

136131
1. In the **Explore the data** section, you can review cells in the **Sensor readings and RUL** subsection that render scatterplots of sensor measurements.
137132

@@ -141,6 +136,12 @@ Now that the project is created, run the **01-turbofan\_regression.ipynb** noteb
141136

142137
1. Open **02-turbofan\_deploy\_model.ipynb** and repeat the steps in this section to run the second notebook.
143138

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+
144145
## Next steps
145146

146147
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

Comments
 (0)