Skip to content

Commit f724cb4

Browse files
authored
Merge pull request #166 from jeff-shepherd/master
Fixed broken links in tutorials
2 parents d09942f + 094b4b3 commit f724cb4

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

tutorials/img-classification-part2-deploy.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@
581581
"> * Deploy the model to ACI\n",
582582
"> * Test the deployed model\n",
583583
" \n",
584-
"You can also try out the [Automatic algorithm selection tutorial](03.auto-train-models.ipynb) to see how Azure Machine Learning can auto-select and tune the best algorithm for your model and build that model for you."
584+
"You can also try out the [regression tutorial](regression-part1-data-prep.ipynb)."
585585
]
586586
}
587587
],

tutorials/regression-part2-automated-ml.ipynb

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555
"import azureml.core\n",
5656
"import pandas as pd\n",
5757
"from azureml.core.workspace import Workspace\n",
58-
"from azureml.train.automl.run import AutoMLRun\n",
59-
"import time\n",
6058
"import logging"
6159
]
6260
},
@@ -93,7 +91,8 @@
9391
"output['Location'] = ws.location\n",
9492
"output['Project Directory'] = project_folder\n",
9593
"pd.set_option('display.max_colwidth', -1)\n",
96-
"pd.DataFrame(data=output, index=['']).T"
94+
"outputDf = pd.DataFrame(data = output, index = [''])\n",
95+
"outputDf.T"
9796
]
9897
},
9998
{
@@ -112,7 +111,6 @@
112111
"outputs": [],
113112
"source": [
114113
"import azureml.dataprep as dprep\n",
115-
"import os\n",
116114
"\n",
117115
"file_path = os.path.join(os.getcwd(), \"dflows.dprep\")\n",
118116
"\n",
@@ -308,7 +306,6 @@
308306
" metrics = {k: v for k, v in run.get_metrics().items() if isinstance(v, float)}\n",
309307
" metricslist[int(properties['iteration'])] = metrics\n",
310308
"\n",
311-
"import pandas as pd\n",
312309
"rundata = pd.DataFrame(metricslist).sort_index(1)\n",
313310
"rundata"
314311
]
@@ -351,7 +348,7 @@
351348
"description = 'Automated Machine Learning Model'\n",
352349
"tags = None\n",
353350
"local_run.register_model(description=description, tags=tags)\n",
354-
"local_run.model_id # Use this id to deploy the model as a web service in Azure"
351+
"print(local_run.model_id) # Use this id to deploy the model as a web service in Azure"
355352
]
356353
},
357354
{
@@ -471,7 +468,7 @@
471468
"> * Explored and reviewed training results\n",
472469
"> * Registered the best model\n",
473470
"\n",
474-
"[Deploy your model](02.deploy-models.ipynb) with Azure Machine Learning."
471+
"You can also try out the [image classification tutorial](img-classification-part1-training.ipynb)."
475472
]
476473
}
477474
],

0 commit comments

Comments
 (0)