Skip to content

Commit 7186127

Browse files
authored
Merge pull request Azure#1128 from Azure/release_update/Release-63
update samples from Release-63 as a part of SDK release
2 parents 5080053 + b01c52b commit 7186127

File tree

63 files changed

+1287
-3409
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1287
-3409
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Visit following repos to see projects contributed by Azure ML users:
6565
- [UMass Amherst Student Samples](https://github.com/katiehouse3/microsoft-azure-ml-notebooks) - A number of end-to-end machine learning notebooks, including machine translation, image classification, and customer churn, created by students in the 696DS course at UMass Amherst.
6666

6767
## Data/Telemetry
68-
This repository collects usage data and sends it to Mircosoft to help improve our products and services. Read Microsoft's [privacy statement to learn more](https://privacy.microsoft.com/en-US/privacystatement)
68+
This repository collects usage data and sends it to Microsoft to help improve our products and services. Read Microsoft's [privacy statement to learn more](https://privacy.microsoft.com/en-US/privacystatement)
6969

7070
To opt out of tracking, please go to the raw markdown or .ipynb files and remove the following line of code:
7171

configuration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"source": [
104104
"import azureml.core\n",
105105
"\n",
106-
"print(\"This notebook was created using version 1.12.0 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.13.0 of the Azure ML SDK\")\n",
107107
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
108108
]
109109
},

how-to-use-azureml/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Learn how to use Azure Machine Learning services for experimentation and model m
44

55
As a pre-requisite, run the [configuration Notebook](../configuration.ipynb) notebook first to set up your Azure ML Workspace. Then, run the notebooks in following recommended order.
66

7-
* [train-within-notebook](./training/train-within-notebook): Train a model hile tracking run history, and learn how to deploy the model as web service to Azure Container Instance.
7+
* [train-within-notebook](./training/train-within-notebook): Train a model while tracking run history, and learn how to deploy the model as web service to Azure Container Instance.
88
* [train-on-local](./training/train-on-local): Learn how to submit a run to local computer and use Azure ML managed run configuration.
99
* [train-on-amlcompute](./training/train-on-amlcompute): Use a 1-n node Azure ML managed compute cluster for remote runs on Azure CPU or GPU infrastructure.
1010
* [train-on-remote-vm](./training/train-on-remote-vm): Use Data Science Virtual Machine as a target for remote runs.

how-to-use-azureml/automated-machine-learning/automl_env.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ dependencies:
66
- python>=3.5.2,<3.6.8
77
- nb_conda
88
- matplotlib==2.1.0
9-
- numpy~=1.16.0
9+
- numpy~=1.18.0
1010
- cython
1111
- urllib3<1.24
1212
- scipy==1.4.1
13-
- scikit-learn>=0.19.0,<=0.20.3
14-
- pandas>=0.22.0,<=0.23.4
13+
- scikit-learn==0.22.1
14+
- pandas==0.25.1
1515
- py-xgboost<=0.90
1616
- conda-forge::fbprophet==0.5
1717
- holidays==0.9.11
@@ -20,12 +20,9 @@ dependencies:
2020

2121
- pip:
2222
# Required packages for AzureML execution, history, and data preparation.
23-
- azureml-defaults
24-
- azureml-train-automl
25-
- azureml-train
2623
- azureml-widgets
27-
- azureml-pipeline
2824
- pytorch-transformers==1.0.0
2925
- spacy==2.1.8
3026
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
27+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.13.0/validated_win32_requirements.txt [--no-deps]
3128

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: azure_automl
2+
dependencies:
3+
# The python interpreter version.
4+
# Currently Azure ML only supports 3.5.2 and later.
5+
- pip<=19.3.1
6+
- python>=3.5.2,<3.6.8
7+
- nb_conda
8+
- matplotlib==2.1.0
9+
- numpy~=1.18.0
10+
- cython
11+
- urllib3<1.24
12+
- scipy==1.4.1
13+
- scikit-learn==0.22.1
14+
- pandas==0.25.1
15+
- py-xgboost<=0.90
16+
- conda-forge::fbprophet==0.5
17+
- holidays==0.9.11
18+
- pytorch::pytorch=1.4.0
19+
- cudatoolkit=10.1.243
20+
21+
- pip:
22+
# Required packages for AzureML execution, history, and data preparation.
23+
- azureml-widgets
24+
- pytorch-transformers==1.0.0
25+
- spacy==2.1.8
26+
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
27+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.13.0/validated_linux_requirements.txt [--no-deps]
28+

how-to-use-azureml/automated-machine-learning/automl_env_mac.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ dependencies:
77
- python>=3.5.2,<3.6.8
88
- nb_conda
99
- matplotlib==2.1.0
10-
- numpy~=1.16.0
10+
- numpy~=1.18.0
1111
- cython
1212
- urllib3<1.24
1313
- scipy==1.4.1
14-
- scikit-learn>=0.19.0,<=0.20.3
15-
- pandas>=0.22.0,<=0.23.4
14+
- scikit-learn==0.22.1
15+
- pandas==0.25.1
1616
- py-xgboost<=0.90
1717
- conda-forge::fbprophet==0.5
1818
- holidays==0.9.11
@@ -21,11 +21,8 @@ dependencies:
2121

2222
- pip:
2323
# Required packages for AzureML execution, history, and data preparation.
24-
- azureml-defaults
25-
- azureml-train-automl
26-
- azureml-train
2724
- azureml-widgets
28-
- azureml-pipeline
2925
- pytorch-transformers==1.0.0
3026
- spacy==2.1.8
3127
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
28+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.13.0/validated_darwin_requirements.txt [--no-deps]

how-to-use-azureml/automated-machine-learning/automl_setup_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212

1313
if [ "$AUTOML_ENV_FILE" == "" ]
1414
then
15-
AUTOML_ENV_FILE="automl_env.yml"
15+
AUTOML_ENV_FILE="automl_env_linux.yml"
1616
fi
1717

1818
if [ ! -f $AUTOML_ENV_FILE ]; then

how-to-use-azureml/automated-machine-learning/classification-bank-marketing-all-features/auto-ml-classification-bank-marketing-all-features.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"metadata": {},
106106
"outputs": [],
107107
"source": [
108-
"print(\"This notebook was created using version 1.12.0 of the Azure ML SDK\")\n",
108+
"print(\"This notebook was created using version 1.13.0 of the Azure ML SDK\")\n",
109109
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
110110
]
111111
},

how-to-use-azureml/automated-machine-learning/classification-credit-card-fraud/auto-ml-classification-credit-card-fraud.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"metadata": {},
9494
"outputs": [],
9595
"source": [
96-
"print(\"This notebook was created using version 1.12.0 of the Azure ML SDK\")\n",
96+
"print(\"This notebook was created using version 1.13.0 of the Azure ML SDK\")\n",
9797
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9898
]
9999
},

how-to-use-azureml/automated-machine-learning/classification-text-dnn/auto-ml-classification-text-dnn.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"metadata": {},
9898
"outputs": [],
9999
"source": [
100-
"print(\"This notebook was created using version 1.12.0 of the Azure ML SDK\")\n",
100+
"print(\"This notebook was created using version 1.13.0 of the Azure ML SDK\")\n",
101101
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
102102
]
103103
},
@@ -151,6 +151,8 @@
151151
"from azureml.core.compute import ComputeTarget, AmlCompute\n",
152152
"from azureml.core.compute_target import ComputeTargetException\n",
153153
"\n",
154+
"num_nodes = 2\n",
155+
"\n",
154156
"# Choose a name for your cluster.\n",
155157
"amlcompute_cluster_name = \"dnntext-cluster\"\n",
156158
"\n",
@@ -163,7 +165,7 @@
163165
" # To use BERT (this is recommended for best performance), select a GPU such as \"STANDARD_NC6\" \n",
164166
" # or similar GPU option\n",
165167
" # available in your workspace\n",
166-
" max_nodes = 1)\n",
168+
" max_nodes = num_nodes)\n",
167169
" compute_target = ComputeTarget.create(ws, amlcompute_cluster_name, compute_config)\n",
168170
"\n",
169171
"compute_target.wait_for_completion(show_output=True)"
@@ -282,7 +284,7 @@
282284
"automl_settings = {\n",
283285
" \"experiment_timeout_minutes\": 20,\n",
284286
" \"primary_metric\": 'accuracy',\n",
285-
" \"max_concurrent_iterations\": 4, \n",
287+
" \"max_concurrent_iterations\": num_nodes, \n",
286288
" \"max_cores_per_iteration\": -1,\n",
287289
" \"enable_dnn\": True,\n",
288290
" \"enable_early_stopping\": True,\n",

0 commit comments

Comments
 (0)