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: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ and maintaining the complete data science workflow from the cloud.
11
11
```sh
12
12
pip install azureml-sdk
13
13
```
14
-
Read more detailed instructions on [how to set up your environment](./NBSETUP.md).
14
+
Read more detailed instructions on [how to set up your environment](./NBSETUP.md) using Azure Notebook service, your own Jupyter notebook server, or Docker.
15
15
16
16
## How to navigate and use the example notebooks?
17
17
You should always run the [Configuration](./configuration.ipynb) notebook first when setting up a notebook library on a new machine or in a new environment. It configures your notebook library to connect to an Azure Machine Learning workspace, and sets up your workspace and compute to be used by many of the other examples.
Copy file name to clipboardExpand all lines: how-to-use-azureml/automated-machine-learning/forecasting-energy-demand/auto-ml-forecasting-energy-demand.ipynb
-24
Original file line number
Diff line number
Diff line change
@@ -47,30 +47,6 @@
47
47
"## Setup\n"
48
48
]
49
49
},
50
-
{
51
-
"cell_type": "markdown",
52
-
"metadata": {},
53
-
"source": [
54
-
"To use the *forecasting* task in AutoML, you need to have the **azuremlftk** package installed in your environment. The following cell tests whether this package is installed locally and, if not, gives you instructions for installing it. "
55
-
]
56
-
},
57
-
{
58
-
"cell_type": "code",
59
-
"execution_count": null,
60
-
"metadata": {},
61
-
"outputs": [],
62
-
"source": [
63
-
"try:\n",
64
-
" import ftk\n",
65
-
" print('Using FTK version ' + ftk.__version__)\n",
66
-
"except ImportError:\n",
67
-
" print(\"Unable to import forecasting package. This notebook does not work without this package.\\n\"\n",
68
-
" + \"Please open a command prompt and run `pip install azuremlftk` to install the package. \\n\"\n",
69
-
" + \"Make sure you install the package into AutoML's Python environment.\\n\\n\"\n",
70
-
" + \"For instance, if AutoML is installed in a conda environment called `python36`, run:\\n\"\n",
Copy file name to clipboardExpand all lines: how-to-use-azureml/automated-machine-learning/forecasting-orange-juice-sales/auto-ml-forecasting-orange-juice-sales.ipynb
+1-25
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@
38
38
"3. Find and train a forecasting model using local compute\n",
39
39
"4. Evaluate the performance of the model\n",
40
40
"\n",
41
-
"The examples in the follow code samples use the [University of Chicago's Dominick's Finer Foods dataset](https://research.chicagobooth.edu/kilts/marketing-databases/dominicks) to forecast orange juice sales. Dominick's was a grocery chain in the Chicago metropolitan area."
41
+
"The examples in the follow code samples use the University of Chicago's Dominick's Finer Foods dataset to forecast orange juice sales. Dominick's was a grocery chain in the Chicago metropolitan area."
42
42
]
43
43
},
44
44
{
@@ -48,30 +48,6 @@
48
48
"## Setup"
49
49
]
50
50
},
51
-
{
52
-
"cell_type": "markdown",
53
-
"metadata": {},
54
-
"source": [
55
-
"To use the *forecasting* task in AutoML, you need to have the **azuremlftk** package installed in your environment. The following cell tests whether this package is installed locally and, if not, gives you instructions for installing it."
56
-
]
57
-
},
58
-
{
59
-
"cell_type": "code",
60
-
"execution_count": null,
61
-
"metadata": {},
62
-
"outputs": [],
63
-
"source": [
64
-
"try:\n",
65
-
" import ftk\n",
66
-
" print('Using FTK version ' + ftk.__version__)\n",
67
-
"except ImportError:\n",
68
-
" print(\"Unable to import forecasting package. This notebook does not work without this package.\\n\"\n",
69
-
" + \"Please open a command prompt and run `pip install azuremlftk` to install the package. \\n\"\n",
70
-
" + \"Make sure you install the package into AutoML's Python environment.\\n\\n\"\n",
71
-
" + \"For instance, if AutoML is installed in a conda environment called `python36`, run:\\n\"\n",
"Copyright (c) Microsoft Corporation. All rights reserved.\n",
8
+
"\n",
9
+
"Licensed under the MIT License."
10
+
]
11
+
},
12
+
{
13
+
"cell_type": "markdown",
14
+
"metadata": {},
15
+
"source": [
16
+
"# Automated Machine Learning\n",
17
+
"_**Classification with Local Compute**_\n",
18
+
"\n",
19
+
"## Contents\n",
20
+
"1. [Introduction](#Introduction)\n",
21
+
"1. [Setup](#Setup)\n",
22
+
"1. [Data](#Data)\n",
23
+
"1. [Train](#Train)\n",
24
+
"\n"
25
+
]
26
+
},
27
+
{
28
+
"cell_type": "markdown",
29
+
"metadata": {},
30
+
"source": [
31
+
"## Introduction\n",
32
+
"\n",
33
+
"In this example we will explore AutoML's subsampling feature. This is useful for training on large datasets to speed up the convergence.\n",
34
+
"\n",
35
+
"The setup is quiet similar to a normal classification, with the exception of the `enable_subsampling` option. Keep in mind that even with the `enable_subsampling` flag set, subsampling will only be run for large datasets (>= 50k rows) and large (>= 85) or no iteration restrictions.\n"
36
+
]
37
+
},
38
+
{
39
+
"cell_type": "markdown",
40
+
"metadata": {},
41
+
"source": [
42
+
"## Setup\n",
43
+
"\n",
44
+
"As part of the setup you have already created an Azure ML `Workspace` object. For AutoML you will need to create an `Experiment` object, which is a named object in a `Workspace` used to run experiments."
"Instantiate an `AutoMLConfig` object to specify the settings and data used to run the experiment.\n",
139
+
"\n",
140
+
"|Property|Description|\n",
141
+
"|-|-|\n",
142
+
"|**enable_subsampling**|This enables subsampling as an option. However it does not guarantee subsampling will be used. It also depends on how large the dataset is and how many iterations it's expected to run at a minimum.|\n",
143
+
"|**iterations**|Number of iterations. Subsampling requires a lot of iterations at smaller percent so in order for subsampling to be used we need to set iterations to be a high number.|\n",
144
+
"|**experiment_timeout_minutes**|The experiment timeout, it's set to 5 right now to shorten the demo but it should probably be higher if we want to finish all the iterations.|\n",
"Call the `submit` method on the experiment object and pass the run configuration. Execution of local runs is synchronous. Depending on the data and the number of iterations this can run for a while.\n",
172
+
"In this example, we specify `show_output = True` to print currently running iterations to the console."
0 commit comments