Skip to content

Commit bb11c80

Browse files
committed
update samples from Release-193 as a part of 1.53.0 SDK stable release
1 parent d0961b9 commit bb11c80

File tree

96 files changed

+1116
-2055
lines changed

Some content is hidden

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

96 files changed

+1116
-2055
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Azure Machine Learning Python SDK notebooks
22

3-
4-
** **With the introduction of AzureML SDK v2, this samples repository for the v1 SDK is now deprecated and will not be monitored or updated. Users are encouraged to visit the [v2 SDK samples repository](https://github.com/Azure/azureml-examples) instead for up-to-date and enhanced examples of how to build, train, and deploy machine learning models with AzureML's newest features.** **
5-
3+
> a community-driven repository of examples using mlflow for tracking can be found at https://github.com/Azure/azureml-examples
64
75
Welcome to the Azure Machine Learning Python SDK notebooks repository!
86

configuration.ipynb

Lines changed: 2 additions & 2 deletions
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.51.0 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.53.0 of the Azure ML SDK\")\n",
107107
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
108108
]
109109
},
@@ -329,7 +329,7 @@
329329
" print(\"Creating new gpu-cluster\")\n",
330330
" \n",
331331
" # Specify the configuration for the new cluster\n",
332-
" compute_config = AmlCompute.provisioning_configuration(vm_size=\"STANDARD_NC6\",\n",
332+
" compute_config = AmlCompute.provisioning_configuration(vm_size=\"Standard_NC6s_v3\",\n",
333333
" min_nodes=0,\n",
334334
" max_nodes=4)\n",
335335
" # Create the cluster with the specified name and configuration\n",

contrib/RAPIDS/azure-ml-with-nvidia-rapids.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"else:\n",
175175
" print(\"creating new cluster\")\n",
176176
" # vm_size parameter below could be modified to one of the RAPIDS-supported VM types\n",
177-
" provisioning_config = AmlCompute.provisioning_configuration(vm_size = \"Standard_NC6s_v2\", min_nodes=1, max_nodes = 1)\n",
177+
" provisioning_config = AmlCompute.provisioning_configuration(vm_size = \"Standard_NC6s_v3\", min_nodes=1, max_nodes = 1)\n",
178178
"\n",
179179
" # create the cluster\n",
180180
" gpu_cluster = ComputeTarget.create(ws, gpu_cluster_name, provisioning_config)\n",

contrib/fairness/fairlearn-azureml-mitigation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ dependencies:
33
- pip:
44
- azureml-sdk
55
- azureml-contrib-fairness
6-
- fairlearn>=0.6.2
6+
- fairlearn>=0.6.2,<=0.7.0
77
- joblib
88
- liac-arff
9-
- raiwidgets~=0.26.0
9+
- raiwidgets~=0.28.0
1010
- itsdangerous==2.0.1
1111
- markupsafe<2.1.0
1212
- protobuf==3.20.0

contrib/fairness/upload-fairness-dashboard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ dependencies:
33
- pip:
44
- azureml-sdk
55
- azureml-contrib-fairness
6-
- fairlearn>=0.6.2
6+
- fairlearn>=0.6.2,<=0.7.0
77
- joblib
88
- liac-arff
9-
- raiwidgets~=0.26.0
9+
- raiwidgets~=0.28.0
1010
- itsdangerous==2.0.1
1111
- markupsafe<2.1.0
1212
- protobuf==3.20.0

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ dependencies:
77
# The python interpreter version.
88
# Azure ML only supports 3.7.0 and later.
99
- pip==22.3.1
10-
- python>=3.7,<3.9
10+
- python>=3.8,<3.9
11+
- holidays==0.10.3
1112
- conda-forge::fbprophet==0.7.1
1213
- pandas==1.1.5
1314
- scipy==1.5.3
@@ -16,10 +17,10 @@ dependencies:
1617

1718
- pip:
1819
# Required packages for AzureML execution, history, and data preparation.
19-
- azureml-widgets~=1.51.0
20-
- azureml-defaults~=1.51.0
21-
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.51.0/validated_win32_requirements.txt [--no-deps]
22-
- matplotlib==3.6.2
20+
- azureml-widgets~=1.53.0
21+
- azureml-defaults~=1.53.0
22+
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.53.0/validated_win32_requirements.txt [--no-deps]
23+
- matplotlib==3.7.1
2324
- xgboost==1.3.3
2425
- cmdstanpy==0.9.5
2526
- setuptools-git==1.2

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ dependencies:
77
# The python interpreter version.
88
# Azure ML only supports 3.7 and later.
99
- pip==22.3.1
10-
- python>=3.7,<3.9
11-
- matplotlib==3.2.1
10+
- python>=3.8,<3.9
11+
- matplotlib==3.7.1
1212
- numpy>=1.21.6,<=1.22.3
1313
- cython==0.29.14
1414
- urllib3==1.26.7
1515
- scipy>=1.4.1,<=1.5.3
16-
- scikit-learn==0.22.1
16+
- scikit-learn==1.1.0
1717
- py-xgboost<=1.3.3
1818
- holidays==0.10.3
1919
- conda-forge::fbprophet==0.7.1
@@ -23,10 +23,10 @@ dependencies:
2323

2424
- pip:
2525
# Required packages for AzureML execution, history, and data preparation.
26-
- azureml-widgets~=1.51.0
27-
- azureml-defaults~=1.51.0
26+
- azureml-widgets~=1.53.0
27+
- azureml-defaults~=1.53.0
2828
- pytorch-transformers==1.0.0
2929
- spacy==2.2.4
3030
- pystan==2.19.1.1
3131
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
32-
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.51.0/validated_linux_requirements.txt [--no-deps]
32+
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.53.0/validated_linux_requirements.txt [--no-deps]

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

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,22 @@ dependencies:
77
# The python interpreter version.
88
# Currently Azure ML only supports 3.7 and later.
99
- pip==22.3.1
10-
- python>=3.7,<3.9
11-
- matplotlib==3.2.1
10+
- python>=3.8,<3.9
1211
- numpy>=1.21.6,<=1.22.3
1312
- cython==0.29.14
14-
- urllib3==1.26.7
1513
- scipy>=1.4.1,<=1.5.3
16-
- scikit-learn==0.22.1
17-
- py-xgboost<=1.3.3
14+
- scikit-learn==1.1.0
1815
- holidays==0.10.3
19-
- pytorch::pytorch=1.11.0
20-
- cudatoolkit=9.0
21-
- notebook
2216

2317
- pip:
2418
# Required packages for AzureML execution, history, and data preparation.
25-
- azureml-widgets~=1.51.0
26-
- azureml-defaults~=1.51.0
19+
- azureml-widgets~=1.53.0
20+
- azureml-defaults~=1.53.0
2721
- pytorch-transformers==1.0.0
2822
- spacy==2.2.4
2923
- pystan==2.19.1.1
3024
- fbprophet==0.7.1
25+
- xgboost==1.3.3
26+
- matplotlib==3.7.1
3127
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
32-
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.51.0/validated_darwin_requirements.txt [--no-deps]
28+
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.53.0/validated_darwin_requirements.txt [--no-deps]

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

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"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+
"![Impressions](https://PixelServer20190423114238.azurewebsites.net/api/impressions/MachineLearningNotebooks/how-to-use-azureml/automated-machine-learning/classification-bank-marketing-all-features/auto-ml-classification-bank-marketing-all-features.png)"
17+
]
18+
},
319
{
420
"cell_type": "markdown",
521
"metadata": {},
@@ -830,9 +846,7 @@
830846
{
831847
"cell_type": "code",
832848
"execution_count": null,
833-
"metadata": {
834-
"scrolled": true
835-
},
849+
"metadata": {},
836850
"outputs": [],
837851
"source": [
838852
"%matplotlib notebook\n",

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"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+
"![Impressions](https://PixelServer20190423114238.azurewebsites.net/api/impressions/MachineLearningNotebooks/how-to-use-azureml/automated-machine-learning/classification-credit-card-fraud/auto-ml-classification-credit-card-fraud.png)"
17+
]
18+
},
319
{
420
"cell_type": "markdown",
521
"metadata": {},

0 commit comments

Comments
 (0)