Skip to content

Commit 4df079d

Browse files
committed
update samples from Release-39 as a part of SDK release
1 parent 67d0b02 commit 4df079d

File tree

9 files changed

+21
-18
lines changed

9 files changed

+21
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Read more detailed instructions on [how to set up your environment](./NBSETUP.md
1313

1414
## How to navigate and use the example notebooks?
1515
If you are using an Azure Machine Learning Notebook VM, you are all set. Otherwise, you should always run the [Configuration](./configuration.ipynb) notebook first when setting up a notebook library on a new machine or in a new environment. It configures your notebook library to connect to an Azure Machine Learning workspace, and sets up your workspace and compute to be used by many of the other examples.
16-
This [index](./index.md) should assist in navigating the Azure Machine Learning notebook samples and encourage efficient retrieval of topics and content.
16+
This [index](.index.md) should assist in navigating the Azure Machine Learning notebook samples and encourage efficient retrieval of topics and content.
1717

1818
If you want to...
1919

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.1.0rc1 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.1.1rc0 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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dependencies:
44
# Currently Azure ML only supports 3.5.2 and later.
55
- pip<=19.3.1
66
- python>=3.5.2,<3.6.8
7+
- wheel==0.30.0
78
- nb_conda
89
- matplotlib==2.1.0
910
- numpy>=1.16.0,<=1.16.2

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
- pip<=19.3.1
66
- nomkl
77
- python>=3.5.2,<3.6.8
8+
- wheel==0.30.0
89
- nb_conda
910
- matplotlib==2.1.0
1011
- numpy>=1.16.0,<=1.16.2

how-to-use-azureml/machine-learning-pipelines/intro-to-pipelines/aml-pipelines-with-automated-machine-learning-step.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"from azureml.core.runconfig import RunConfiguration\n",
7777
"from azureml.core.conda_dependencies import CondaDependencies\n",
7878
"\n",
79-
"from azureml.pipeline.steps import AutoMLStep\n",
79+
"from azureml.train.automl.runtime import AutoMLStep\n",
8080
"\n",
8181
"# Check core SDK version number\n",
8282
"print(\"SDK version:\", azureml.core.VERSION)"
@@ -173,7 +173,12 @@
173173
"source": [
174174
"# create a new RunConfig object\n",
175175
"conda_run_config = RunConfiguration(framework=\"python\")\n",
176-
"cd = CondaDependencies.create(pip_packages=['azureml-sdk[automl]'])\n",
176+
"\n",
177+
"conda_run_config.environment.docker.enabled = True\n",
178+
"conda_run_config.environment.docker.base_image = azureml.core.runconfig.DEFAULT_CPU_IMAGE\n",
179+
"\n",
180+
"cd = CondaDependencies.create(pip_packages=['azureml-sdk[automl]'], \n",
181+
" conda_packages=['numpy', 'py-xgboost<=0.80'])\n",
177182
"conda_run_config.environment.python.conda_dependencies = cd\n",
178183
"\n",
179184
"print('run config is ready')"

how-to-use-azureml/ml-frameworks/chainer/deployment/train-hyperparameter-tune-deploy-with-chainer/train-hyperparameter-tune-deploy-with-chainer.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -673,13 +673,11 @@
673673
"metadata": {},
674674
"outputs": [],
675675
"source": [
676-
"models = ws.models\n",
677-
"for name, model in models.items():\n",
678-
" print(\"Model: {}, ID: {}\".format(name, model.id))\n",
676+
"model = ws.models['chainer-dnn-mnist']\n",
677+
"print(\"Model: {}, ID: {}\".format('chainer-dnn-mnist', model.id))\n",
679678
" \n",
680-
"webservices = ws.webservices\n",
681-
"for name, webservice in webservices.items():\n",
682-
" print(\"Webservice: {}, scoring URI: {}\".format(name, webservice.scoring_uri))"
679+
"webservice = ws.webservices['chainer-mnist-1']\n",
680+
"print(\"Webservice: {}, scoring URI: {}\".format('chainer-mnist-1', webservice.scoring_uri))"
683681
]
684682
},
685683
{

how-to-use-azureml/ml-frameworks/tensorflow/deployment/train-hyperparameter-tune-deploy-with-tensorflow/train-hyperparameter-tune-deploy-with-tensorflow.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,13 +1115,11 @@
11151115
"metadata": {},
11161116
"outputs": [],
11171117
"source": [
1118-
"models = ws.models\n",
1119-
"for name, model in models.items():\n",
1120-
" print(\"Model: {}, ID: {}\".format(name, model.id))\n",
1118+
"model = ws.models['tf-dnn-mnist']\n",
1119+
"print(\"Model: {}, ID: {}\".format('tf-dnn-mnist', model.id))\n",
11211120
" \n",
1122-
"webservices = ws.webservices\n",
1123-
"for name, webservice in webservices.items():\n",
1124-
" print(\"Webservice: {}, scoring URI: {}\".format(name, webservice.scoring_uri))"
1121+
"webservice = ws.webservices['tf-mnist-svc']\n",
1122+
"print(\"Webservice: {}, scoring URI: {}\".format('tf-mnist-svc', webservice.scoring_uri))"
11251123
]
11261124
},
11271125
{

how-to-use-azureml/track-and-monitor-experiments/logging-api/logging-api.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"\n",
101101
"# Check core SDK version number\n",
102102
"\n",
103-
"print(\"This notebook was created using SDK version 1.1.0rc1, you are currently running version\", azureml.core.VERSION)"
103+
"print(\"This notebook was created using SDK version 1.1.1rc0, you are currently running version\", azureml.core.VERSION)"
104104
]
105105
},
106106
{

setup-environment/configuration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"source": [
103103
"import azureml.core\n",
104104
"\n",
105-
"print(\"This notebook was created using version 1.1.0rc1 of the Azure ML SDK\")\n",
105+
"print(\"This notebook was created using version 1.1.1rc0 of the Azure ML SDK\")\n",
106106
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
107107
]
108108
},

0 commit comments

Comments
 (0)