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-hub/iot-hub-weather-forecast-machine-learning.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ In this section you get the weather prediction model from the Azure AI Gallery a
56
56
57
57
1. Click **Open in Studio (classic)** to open the model in Microsoft Azure Machine Learning Studio (classic).
58
58
59
-

59
+

60
60
61
61
### Add an R-script module to clean temperature and humidity data
62
62
@@ -66,11 +66,11 @@ For the model to behave correctly, the temperature and humidity data must be con
66
66
67
67

68
68
69
-
1. Drag the **Execute R Script** module near the **Clean Missing Data** module and the existing **Execute R Script** module on the experiment canvas. Connect the inputs and outputs as shown.
69
+
1. Drag the **Execute R Script** module near the **Clean Missing Data** module and the existing **Execute R Script** module on the diagram. Delete the connection between the **Clean Missing Data** and the **Execute R Script** modules and then connect the inputs and outputs of the new module as shown.
70
70
71
71

72
72
73
-
1. Select the new **Execute R Script** module to open its properties window. Copy and paste the following code into the **R Script** box. Make sure **CRAN R** is selected for the R version.
73
+
1. Select the new **Execute R Script** module to open its properties window. Copy and paste the following code into the **R Script** box.
74
74
75
75
```r
76
76
# Map 1-based optional input ports to variables
@@ -91,17 +91,17 @@ For the model to behave correctly, the temperature and humidity data must be con
91
91
92
92
### Deploy predictive web service
93
93
94
+
In this section, you validate the model, set up a predictive web service based on the model, and then deploy the web service.
95
+
94
96
1. Click **Run** to validate the steps in the model. This step might take a few minutes to complete.
95
97
96
98

97
99
98
-
1. Click **SET UP WEB SERVICE** > **Predictive Web Service**.
100
+
1. Click **SET UP WEB SERVICE** > **Predictive Web Service**. The predictive experiment diagram opens.
99
101
100
102

101
103
102
-
1. In the diagram, drag the **Web service input** module somewhere near the **Score Model** module.
103
-
104
-
1. Connect the **Web service input** module to the **Score Model** module.
104
+
1. In the diagram, delete the connection between the **Web service input** module and the **Weather Dataset** at the top. Then drag the **Web service input** module somewhere near the **Score Model** module and connect it as shown:
105
105
106
106

107
107
@@ -114,7 +114,7 @@ For the model to behave correctly, the temperature and humidity data must be con
114
114
> [!Note]
115
115
> Make sure that you download the **Excel 2010 or earlier workbook** even if you are running a later version of Excel on your computer.
116
116
117
-

117
+

118
118
119
119
1. Open the Excel workbook, make a note of the **WEB SERVICE URL** and **ACCESS KEY**.
0 commit comments