Compare commits

..

5 Commits

Author SHA1 Message Date
amlrelsa-ms
02ecb2d755 update samples from Release-109 as a part of SDK release 2021-08-18 22:07:12 +00:00
Harneet Virk
122df6e846 Merge pull request #1576 from Azure/release_update/Release-108
update samples from Release-108 as a part of  SDK release
2021-08-18 09:47:34 -07:00
amlrelsa-ms
7d6a0a2051 update samples from Release-108 as a part of SDK release 2021-08-18 00:33:54 +00:00
Harneet Virk
6cc8af80a2 Merge pull request #1565 from Azure/release_update/Release-107
update samples from Release-107 as a part of  SDK release 1.33
2021-08-02 13:14:30 -07:00
amlrelsa-ms
f61898f718 update samples from Release-107 as a part of SDK release 2021-08-02 18:01:38 +00:00
2 changed files with 19 additions and 5 deletions

View File

@@ -47,8 +47,9 @@
"outputs": [],
"source": [
"import azureml.core\n",
"from azureml.core import Workspace, Experiment, Dataset\n",
"from azureml.core import Workspace, Experiment, Dataset, RunConfiguration\n",
"from azureml.core.compute import ComputeTarget, AmlCompute\n",
"from azureml.core.environment import CondaDependencies\n",
"from azureml.data.dataset_consumption_config import DatasetConsumptionConfig\n",
"from azureml.widgets import RunDetails\n",
"\n",
@@ -223,6 +224,18 @@
"Note that the ```file_ds_consumption``` and ```tabular_ds_consumption``` are specified as both arguments and inputs to create a step."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"conda_dep = CondaDependencies()\n",
"conda_dep.add_pip_package(\"pandas\")\n",
"\n",
"run_config = RunConfiguration(conda_dependencies=conda_dep)"
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -235,7 +248,8 @@
" arguments=[\"--param1\", file_ds_consumption, \"--param2\", tabular_ds_consumption],\n",
" inputs=[file_ds_consumption, tabular_ds_consumption],\n",
" compute_target=compute_target,\n",
" source_directory=source_directory)\n",
" source_directory=source_directory,\n",
" runconfig=run_config)\n",
"\n",
"print(\"train_step created\")\n",
"\n",
@@ -498,7 +512,7 @@
"pygments_lexer": "ipython3",
"version": "3.6.7"
},
"order_index": 13,
"order_index": 13.0,
"star_tag": [
"featured"
],

View File

@@ -273,8 +273,8 @@
"- python=3.6.2\n",
"- pip:\n",
" - azureml-defaults\n",
" - keras\n",
" - tensorflow<=2.4.*\n",
" - keras==2.4.3\n",
" - tensorflow==2.4.3\n",
" - numpy\n",
" - scikit-learn\n",
" - pandas\n",