Skip to content

Commit fd2b09e

Browse files
committed
update samples from Release-8 as a part of 1.4.0 SDK stable release
1 parent 7970209 commit fd2b09e

File tree

30 files changed

+774
-72
lines changed

30 files changed

+774
-72
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.3.0 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.4.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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ dependencies:
2828
- azureml-pipeline
2929
- pytorch-transformers==1.0.0
3030
- spacy==2.1.8
31-
- onnxruntime==1.0.0
3231
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
3332

3433
channels:

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ dependencies:
2929
- azureml-pipeline
3030
- pytorch-transformers==1.0.0
3131
- spacy==2.1.8
32-
- onnxruntime==1.0.0
3332
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
3433

3534
channels:

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.3.0 of the Azure ML SDK\")\n",
108+
"print(\"This notebook was created using version 1.4.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.3.0 of the Azure ML SDK\")\n",
96+
"print(\"This notebook was created using version 1.4.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: 6 additions & 5 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.3.0 of the Azure ML SDK\")\n",
100+
"print(\"This notebook was created using version 1.4.0 of the Azure ML SDK\")\n",
101101
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
102102
]
103103
},
@@ -194,8 +194,8 @@
194194
" '''\n",
195195
" remove = ('headers', 'footers', 'quotes')\n",
196196
" categories = [\n",
197-
" 'alt.atheism',\n",
198-
" 'talk.religion.misc',\n",
197+
" 'rec.sport.baseball',\n",
198+
" 'rec.sport.hockey',\n",
199199
" 'comp.graphics',\n",
200200
" 'sci.space',\n",
201201
" ]\n",
@@ -345,7 +345,8 @@
345345
"cell_type": "markdown",
346346
"metadata": {},
347347
"source": [
348-
"You can test the model locally to get a feel of the input/output. This step may require additional package installations such as pytorch."
348+
"You can test the model locally to get a feel of the input/output. When the model contains BERT, this step will require pytorch and pytorch-transformers installed in your local environment. The exact versions of these packages can be found in the **automl_env.yml** file located in the local copy of your MachineLearningNotebooks folder here:\n",
349+
"MachineLearningNotebooks/how-to-use-azureml/automated-machine-learning/automl_env.yml"
349350
]
350351
},
351352
{
@@ -481,7 +482,7 @@
481482
"source": [
482483
"script_folder = os.path.join(os.getcwd(), 'inference')\n",
483484
"os.makedirs(script_folder, exist_ok=True)\n",
484-
"shutil.copy2('infer.py', script_folder)"
485+
"shutil.copy('infer.py', script_folder)"
485486
]
486487
},
487488
{

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ dependencies:
55
- azureml-train-automl
66
- azureml-widgets
77
- matplotlib
8-
- azurmel-train
98
- https://download.pytorch.org/whl/cpu/torch-1.1.0-cp35-cp35m-win_amd64.whl
109
- sentencepiece==0.1.82
1110
- pytorch-transformers==1.0

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
@@ -88,7 +88,7 @@
8888
"metadata": {},
8989
"outputs": [],
9090
"source": [
91-
"print(\"This notebook was created using version 1.3.0 of the Azure ML SDK\")\n",
91+
"print(\"This notebook was created using version 1.4.0 of the Azure ML SDK\")\n",
9292
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9393
]
9494
},

how-to-use-azureml/automated-machine-learning/forecasting-beer-remote/auto-ml-forecasting-beer-remote.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"metadata": {},
115115
"outputs": [],
116116
"source": [
117-
"print(\"This notebook was created using version 1.3.0 of the Azure ML SDK\")\n",
117+
"print(\"This notebook was created using version 1.4.0 of the Azure ML SDK\")\n",
118118
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
119119
]
120120
},
@@ -572,7 +572,7 @@
572572
"\n",
573573
"script_folder = os.path.join(os.getcwd(), 'inference')\n",
574574
"os.makedirs(script_folder, exist_ok=True)\n",
575-
"shutil.copy2('infer.py', script_folder)"
575+
"shutil.copy('infer.py', script_folder)"
576576
]
577577
},
578578
{

how-to-use-azureml/automated-machine-learning/forecasting-bike-share/auto-ml-forecasting-bike-share.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"metadata": {},
8888
"outputs": [],
8989
"source": [
90-
"print(\"This notebook was created using version 1.3.0 of the Azure ML SDK\")\n",
90+
"print(\"This notebook was created using version 1.4.0 of the Azure ML SDK\")\n",
9191
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9292
]
9393
},
@@ -453,8 +453,8 @@
453453
"\n",
454454
"script_folder = os.path.join(os.getcwd(), 'forecast')\n",
455455
"os.makedirs(script_folder, exist_ok=True)\n",
456-
"shutil.copy2('forecasting_script.py', script_folder)\n",
457-
"shutil.copy2('forecasting_helper.py', script_folder)"
456+
"shutil.copy('forecasting_script.py', script_folder)\n",
457+
"shutil.copy('forecasting_helper.py', script_folder)"
458458
]
459459
},
460460
{

0 commit comments

Comments
 (0)