Skip to content

Commit bda592a

Browse files
authored
Merge pull request Azure#1406 from Azure/release_update/Release-93
update samples from Release-93 as a part of SDK release
2 parents 54a065c + 8b32e8d commit bda592a

File tree

46 files changed

+2982
-1506
lines changed

Some content is hidden

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

46 files changed

+2982
-1506
lines changed

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.24.0 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.25.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/automated-machine-learning/automl_env.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ dependencies:
2121

2222
- pip:
2323
# Required packages for AzureML execution, history, and data preparation.
24-
- azureml-widgets~=1.24.0
24+
- azureml-widgets~=1.25.0
2525
- pytorch-transformers==1.0.0
2626
- spacy==2.1.8
2727
- 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.24.0/validated_win32_requirements.txt [--no-deps]
28+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.25.0/validated_win32_requirements.txt [--no-deps]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ dependencies:
2121

2222
- pip:
2323
# Required packages for AzureML execution, history, and data preparation.
24-
- azureml-widgets~=1.24.0
24+
- azureml-widgets~=1.25.0
2525
- pytorch-transformers==1.0.0
2626
- spacy==2.1.8
2727
- 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.24.0/validated_linux_requirements.txt [--no-deps]
28+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.25.0/validated_linux_requirements.txt [--no-deps]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ dependencies:
2222

2323
- pip:
2424
# Required packages for AzureML execution, history, and data preparation.
25-
- azureml-widgets~=1.24.0
25+
- azureml-widgets~=1.25.0
2626
- pytorch-transformers==1.0.0
2727
- spacy==2.1.8
2828
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
29-
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.24.0/validated_darwin_requirements.txt [--no-deps]
29+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.25.0/validated_darwin_requirements.txt [--no-deps]

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ if [ $? -ne 0 ]; then
3232
fi
3333

3434
sed -i '' 's/AZUREML-SDK-VERSION/latest/' $AUTOML_ENV_FILE
35+
brew install libomp
3536

3637
if source activate $CONDA_ENV_NAME 2> /dev/null
3738
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 & 10 deletions
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.24.0 of the Azure ML SDK\")\n",
108+
"print(\"This notebook was created using version 1.25.0 of the Azure ML SDK\")\n",
109109
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
110110
]
111111
},
@@ -374,15 +374,6 @@
374374
"remote_run = experiment.submit(automl_config, show_output = False)"
375375
]
376376
},
377-
{
378-
"cell_type": "code",
379-
"execution_count": null,
380-
"metadata": {},
381-
"outputs": [],
382-
"source": [
383-
"remote_run"
384-
]
385-
},
386377
{
387378
"cell_type": "markdown",
388379
"metadata": {},

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

Lines changed: 1 addition & 10 deletions
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.24.0 of the Azure ML SDK\")\n",
96+
"print(\"This notebook was created using version 1.25.0 of the Azure ML SDK\")\n",
9797
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9898
]
9999
},
@@ -255,15 +255,6 @@
255255
"#remote_run = AutoMLRun(experiment = experiment, run_id = '<replace with your run id>')"
256256
]
257257
},
258-
{
259-
"cell_type": "code",
260-
"execution_count": null,
261-
"metadata": {},
262-
"outputs": [],
263-
"source": [
264-
"remote_run"
265-
]
266-
},
267258
{
268259
"cell_type": "markdown",
269260
"metadata": {},

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"metadata": {},
9797
"outputs": [],
9898
"source": [
99-
"print(\"This notebook was created using version 1.24.0 of the Azure ML SDK\")\n",
99+
"print(\"This notebook was created using version 1.25.0 of the Azure ML SDK\")\n",
100100
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
101101
]
102102
},
@@ -319,15 +319,6 @@
319319
"automl_run = experiment.submit(automl_config, show_output=True)"
320320
]
321321
},
322-
{
323-
"cell_type": "code",
324-
"execution_count": null,
325-
"metadata": {},
326-
"outputs": [],
327-
"source": [
328-
"automl_run"
329-
]
330-
},
331322
{
332323
"cell_type": "markdown",
333324
"metadata": {},

how-to-use-azureml/automated-machine-learning/continuous-retraining/auto-ml-continuous-retraining.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"metadata": {},
8282
"outputs": [],
8383
"source": [
84-
"print(\"This notebook was created using version 1.24.0 of the Azure ML SDK\")\n",
84+
"print(\"This notebook was created using version 1.25.0 of the Azure ML SDK\")\n",
8585
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
8686
]
8787
},

how-to-use-azureml/automated-machine-learning/experimental/regression-model-proxy/auto-ml-regression-model-proxy.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"source": [
4040
"## Introduction\n",
4141
"In this example we use an experimental feature, Model Proxy, to do a predict on the best generated model without downloading the model locally. The prediction will happen on same compute and environment that was used to train the model. This feature is currently in the experimental state, which means that the API is prone to changing, please make sure to run on the latest version of this notebook if you face any issues.\n",
42+
"This notebook will also leverage MLFlow for saving models, allowing for more portability of the resulting models. See https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-mlflow for more details around MLFlow is AzureML.\n",
4243
"\n",
4344
"If you are using an Azure Machine Learning Compute Instance, you are all set. Otherwise, go through the [configuration](../../../../configuration.ipynb) notebook first if you haven't already to establish your connection to the AzureML Workspace. \n",
4445
"\n",
@@ -90,7 +91,7 @@
9091
"metadata": {},
9192
"outputs": [],
9293
"source": [
93-
"print(\"This notebook was created using version 1.24.0 of the Azure ML SDK\")\n",
94+
"print(\"This notebook was created using version 1.25.0 of the Azure ML SDK\")\n",
9495
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9596
]
9697
},
@@ -212,10 +213,11 @@
212213
" \"n_cross_validations\": 3,\n",
213214
" \"primary_metric\": 'r2_score',\n",
214215
" \"enable_early_stopping\": True, \n",
215-
" \"experiment_timeout_hours\": 0.3, #for real scenarios we reccommend a timeout of at least one hour \n",
216+
" \"experiment_timeout_hours\": 0.3, #for real scenarios we recommend a timeout of at least one hour \n",
216217
" \"max_concurrent_iterations\": 4,\n",
217218
" \"max_cores_per_iteration\": -1,\n",
218219
" \"verbosity\": logging.INFO,\n",
220+
" \"save_mlflow\": True,\n",
219221
"}\n",
220222
"\n",
221223
"automl_config = AutoMLConfig(task = 'regression',\n",

0 commit comments

Comments
 (0)