Skip to content

Commit 6c629f1

Browse files
committed
update samples from Release-57 as a part of SDK release
1 parent 053efde commit 6c629f1

File tree

67 files changed

+1456
-1324
lines changed

Some content is hidden

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

67 files changed

+1456
-1324
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.8.0 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.9.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/classification-bank-marketing-all-features/auto-ml-classification-bank-marketing-all-features.ipynb

Lines changed: 3 additions & 6 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.8.0 of the Azure ML SDK\")\n",
108+
"print(\"This notebook was created using version 1.9.0 of the Azure ML SDK\")\n",
109109
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
110110
]
111111
},
@@ -675,10 +675,8 @@
675675
"model_name = best_run.properties['model_name']\n",
676676
"\n",
677677
"script_file_name = 'inference/score.py'\n",
678-
"conda_env_file_name = 'inference/env.yml'\n",
679678
"\n",
680-
"best_run.download_file('outputs/scoring_file_v_1_0_0.py', 'inference/score.py')\n",
681-
"best_run.download_file('outputs/conda_env_v_1_0_0.yml', 'inference/env.yml')"
679+
"best_run.download_file('outputs/scoring_file_v_1_0_0.py', 'inference/score.py')"
682680
]
683681
},
684682
{
@@ -721,8 +719,7 @@
721719
"from azureml.core.model import Model\n",
722720
"from azureml.core.environment import Environment\n",
723721
"\n",
724-
"myenv = Environment.from_conda_specification(name=\"myenv\", file_path=conda_env_file_name)\n",
725-
"inference_config = InferenceConfig(entry_script=script_file_name, environment=myenv)\n",
722+
"inference_config = InferenceConfig(entry_script=script_file_name)\n",
726723
"\n",
727724
"aciconfig = AciWebservice.deploy_configuration(cpu_cores = 1, \n",
728725
" memory_gb = 1, \n",

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@ name: auto-ml-classification-bank-marketing-all-features
22
dependencies:
33
- pip:
44
- azureml-sdk
5-
- azureml-train-automl
6-
- azureml-widgets
7-
- matplotlib
8-
- onnxruntime==1.0.0

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.8.0 of the Azure ML SDK\")\n",
96+
"print(\"This notebook was created using version 1.9.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-credit-card-fraud/auto-ml-classification-credit-card-fraud.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@ name: auto-ml-classification-credit-card-fraud
22
dependencies:
33
- pip:
44
- azureml-sdk
5-
- azureml-train-automl
6-
- azureml-widgets
7-
- matplotlib

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

Lines changed: 1 addition & 1 deletion
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.8.0 of the Azure ML SDK\")\n",
100+
"print(\"This notebook was created using version 1.9.0 of the Azure ML SDK\")\n",
101101
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
102102
]
103103
},

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,3 @@ name: auto-ml-classification-text-dnn
22
dependencies:
33
- pip:
44
- azureml-sdk
5-
- azureml-train-automl
6-
- azureml-widgets
7-
- matplotlib
8-
- https://download.pytorch.org/whl/cpu/torch-1.1.0-cp35-cp35m-win_amd64.whl
9-
- sentencepiece==0.1.82
10-
- pytorch-transformers==1.0
11-
- spacy==2.1.8
12-
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz

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

Lines changed: 2 additions & 2 deletions
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.8.0 of the Azure ML SDK\")\n",
91+
"print(\"This notebook was created using version 1.9.0 of the Azure ML SDK\")\n",
9292
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9393
]
9494
},
@@ -201,7 +201,7 @@
201201
"conda_run_config.environment.docker.enabled = True\n",
202202
"conda_run_config.environment.docker.base_image = azureml.core.runconfig.DEFAULT_CPU_IMAGE\n",
203203
"\n",
204-
"cd = CondaDependencies.create(pip_packages=['azureml-sdk[automl]', 'applicationinsights', 'azureml-opendatasets'], \n",
204+
"cd = CondaDependencies.create(pip_packages=['azureml-sdk[automl]', 'applicationinsights', 'azureml-opendatasets', 'azureml-defaults'], \n",
205205
" conda_packages=['numpy==1.16.2'], \n",
206206
" pin_sdk_version=False)\n",
207207
"#cd.add_pip_package('azureml-explain-model')\n",

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@ name: auto-ml-continuous-retraining
22
dependencies:
33
- pip:
44
- azureml-sdk
5-
- azureml-train-automl
6-
- azureml-widgets
7-
- matplotlib
8-
- azureml-pipeline

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

Lines changed: 1 addition & 1 deletion
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.8.0 of the Azure ML SDK\")\n",
117+
"print(\"This notebook was created using version 1.9.0 of the Azure ML SDK\")\n",
118118
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
119119
]
120120
},

0 commit comments

Comments
 (0)