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-automated-ml-forecast.md
+33-26Lines changed: 33 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: Foreacast bike sharing demand with automated ML experiment
2
+
title: Forecast bike sharing demand with automated ML experiment
3
3
titleSuffix: Azure Machine Learning
4
-
description: Learn how to train and deploy a demand forecasting with automated machine learning in Azure Machine Learning studio.
4
+
description: Learn how to train and deploy a demand forecasting model with automated machine learning in Azure Machine Learning studio.
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: core
@@ -11,7 +11,7 @@ ms.reviewer: nibaccam
11
11
author: cartacioS
12
12
ms.date: 01/27/2020
13
13
14
-
# Customer intent: As a non-coding data scientist, I want to use automated machine learning to build a demand forecasting model with built in holiday featurization.
14
+
# Customer intent: As a non-coding data scientist, I want to use automated machine learning to build a demand forecasting model.
15
15
---
16
16
17
17
# Tutorial: Forecast bike sharing demand with automated machine learning
@@ -23,19 +23,19 @@ In this tutorial, you learn how to do the following tasks:
23
23
24
24
> [!div class="checklist"]
25
25
> * Create an experiment in an Azure Machine Learning workspace.
26
-
> * Configure a remote run of automated ML for a time-series model with lag and holiday features.
27
-
> *View the engineered names for featurized data and featurization summary for all raw features.
28
-
> *Evaluate the fitted model using a rolling test.
26
+
> * Configure a remote run of automated ML for a demand forecast model.
27
+
> *Explore the experiment results.
28
+
> *Deploy the best model.
29
29
30
30
## Prerequisites
31
31
32
-
*[Create an Enterprise edition workspace](how-to-manage-workspace.md) if you don't already have an Azure Machine Learning workspace.
32
+
*An Enterprise edition Azure Machine Learning workspace. If you don't have a workspace, [create an Enterprise edition workspace](how-to-manage-workspace.md).
33
33
* Automated machine learning in the Azure Machine Learning studio is only avaialble for Enterprise edition workspaces.
34
-
* Download the [bike-no.csv]() data file
34
+
* Download the [bike-no.csv](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/automated-machine-learning/forecasting-bike-share/bike-no.csv) data file
35
35
36
-
## Set up experiment
36
+
## Get started in Azure Machine Learning studio
37
37
38
-
Complete the following experiment set-up and run steps in Azure Machine Learning studio, a consolidated interface that includes machine learning tools to perform data science scenarios for data science practitioners of all skill levels. The studio is not supported on Internet Explorer browsers.
38
+
For this tutorial, you create your automated ml experiment run in Azure Machine Learning studio, a consolidated interface that includes machine learning tools to perform data science scenarios for data science practitioners of all skill levels. The studio is not supported on Internet Explorer browsers.
39
39
40
40
1. Sign in to [Azure Machine Learning studio](https://ml.azure.com).
41
41
@@ -49,9 +49,11 @@ Complete the following experiment set-up and run steps in Azure Machine Learning
49
49
50
50
## Create and load dataset
51
51
52
+
Before you configure your experiment, upload your data file to your workspace in the form of an Azure Machine Learning dataset. Doing so, allows you to ensure that your data is formatted appropriately for your experiment.
53
+
52
54
1. On the **Select dataset** form, select **From local files** from the **+Create dataset** drop-down.
53
55
54
-
1. On the **Basic info** form, give your dataset a name and provide an optional description. The dataset type should default to **Tabular**, since automated ML in Azure Machine Learning studio currently only supports TabularDatasets.
56
+
1. On the **Basic info** form, give your dataset a name and provide an optional description. The dataset type should default to **Tabular**, since automated ML in Azure Machine Learning studio currently only supports tabular datasets.
55
57
56
58
1. Select **Next** on the bottom left
57
59
@@ -77,7 +79,9 @@ Complete the following experiment set-up and run steps in Azure Machine Learning
77
79
78
80
1. The **Schema** form allows for further configuration of your data for this experiment.
79
81
80
-
1. For this example, choose to ignore the **Casual** and **Registered** columns. These columns are a breakdown of the **cnt** column so, therefore unneccessary.
82
+
1. For this example, choose to ignore the **casual** and **registered** columns. These columns are a breakdown of the **cnt** column so, therefore unneccessary.
83
+
84
+
1. Also for this example, leave the default for
81
85
82
86
1. Select **Next**.
83
87
@@ -90,10 +94,12 @@ Complete the following experiment set-up and run steps in Azure Machine Learning
90
94
91
95
## Configure experiment run
92
96
97
+
After you load and configure your data, set up your remote compute target and select which column in your data you want to predict.
98
+
93
99
1. Populate the **Configure Run** form as follows:
94
100
1. Enter an experiment name: `automl-bikeshare`
95
101
96
-
1. Select **cnt** as the target column, what you want to predict. This column indicates the number of total rentals.
102
+
1. Select **cnt** as the target column, what you want to predict. This column indicates the number of total bike share rentals.
97
103
98
104
1. Select **Create a new compute** and configure your compute target. Automated ML only supports Azure Machine Learning compute.
99
105
@@ -113,6 +119,8 @@ Complete the following experiment set-up and run steps in Azure Machine Learning
113
119
114
120
## Select task type and settings
115
121
122
+
Complete the set up for your automated ml experiment by specifying the machine learnign task type and configuration settings.
123
+
116
124
1. On the **Task type and settings** form, select **Forecasting** as the machine learning task type.
117
125
118
126
1. Select **View additional configuration settings** and populate the fields as follows. These settings are to better control the training job. Otherwise, defaults are applied based on experiment selection and data.
@@ -133,12 +141,12 @@ Complete the following experiment set-up and run steps in Azure Machine Learning
133
141
134
142
## Run experiment
135
143
136
-
1. Select **Create** to run the experiment. The **Run Details** screen opens with the **Run status** at the top next to the run number. This status updates as the experiment progresses.
144
+
To run your experiment, select **Create**. The **Run Details** screen opens with the **Run status** at the top next to the run number. This status updates as the experiment progresses.
137
145
138
146
>[!IMPORTANT]
139
147
> Preparation takes **10-15 minutes** to prepare the experiment run.
140
-
> Once running, it takes **2-3 minutes more for each iteration**. <br>
141
-
> In production, you'd likely walk away for a bit. But for this tutorial, we suggest you start exploring the tested algorithms on the **Models** tab as they complete while the others are still running.
148
+
> Once running, it takes **2-3 minutes more for each iteration**. <br> <br>
149
+
> In production, you'd likely walk away for a bit as this process is rather lengthy. While you wait, we suggest you start exploring the tested algorithms on the **Models** tab as they complete.
142
150
143
151
## Explore models
144
152
@@ -150,14 +158,13 @@ The following navigates through the **Model details** and the **Visualizations**
Automated machine learning in Azure Machine Learning studio allows you to deploy the best model as a web service in a few steps. Deployment is the integration of the model so it can predict on new data and identify potential areas of opportunity.
157
164
158
-
For this experiment, deployment to a web service means that the financial institution now has an iterative and scalable web solution for forecasting bikeshare customer demand.
165
+
For this experiment, deployment to a web service means that the bike share company now has an iterative and scalable web solution for forecasting bikeshare rental demand.
159
166
160
-
Once the run is complete, navigate back to the **Run Detail** page and select the **Models** tab. Select **Refresh**.
167
+
Once the run is complete, navigate back to the **Run Detail** page and select the **Models** tab.
161
168
162
169
In this experiment context, **StackEnsemble** is considered the best model, based on the **Normalized root mean squared error** metric. We deploy this model, but be advised, deployment takes about 20 minutes to complete. The deployment process entails several steps including registering the model, generating resources, and configuring them for the web service.
163
170
@@ -167,20 +174,20 @@ In this experiment context, **StackEnsemble** is considered the best model, base
167
174
168
175
Field| Value
169
176
----|----
170
-
Deployment name| my-automl-deploy
171
-
Deployment description| My first automated machine learning experiment deployment
Compute type | Select Azure Compute Instance (ACI)
173
180
Enable authentication| Disable.
174
-
Use custom deployments| Disable. Allows for the default driver file (scoring script) and environment file to be autogenerated.
181
+
Use custom deployment assets| Disable. Disabling allows for the default driver file (scoring script) and environment file to be autogenerated.
175
182
176
183
For this example, we use the defaults provided in the *Advanced* menu.
177
184
178
185
1. Select **Deploy**.
179
186
180
-
A green success message appears at the top of the **Run** screen, and
181
-
in the **Recommended model** pane, a status message appears under **Deploy status**. Select **Refresh** periodically to check the deployment status.
187
+
A green success message appears at the top of the **Run** screen stated that the deployment was started successfully. The progress of the deployment can be found
188
+
in the **Recommended model** paneunder **Deploy status**.
182
189
183
-
Now you have an operational web service to generate predictions.
190
+
Once deployment succeeds, you have an operational web service to generate predictions.
184
191
185
192
Proceed to the [**Next Steps**](#next-steps) to learn more about how to consume your new web service, and test your predictions using Power BI's built in Azure Machine Learning support.
186
193
@@ -204,7 +211,7 @@ Delete just the deployment instance from the Azure Machine Learning studio, if y
204
211
205
212
## Next steps
206
213
207
-
In this automated machine learning tutorial, you used Azure Machine Learning studio to create and deploy a demand forecasting model. See these articles for more information and next steps:
214
+
In this automated machine learning tutorial, you used Azure Machine Learning studio to create and deploy a demand forecasting model. See this article for steps on how to create a Power BI supported schema and how to consume your newly deployed web service in Power BI:
208
215
209
216
> [!div class="nextstepaction"]
210
217
> [Consume a web service](how-to-consume-web-service.md#consume-the-service-from-power-bi)
0 commit comments