Skip to content

Commit 0d91f2d

Browse files
committed
update tutorials
1 parent 88f6a96 commit 0d91f2d

3 files changed

+6
-16
lines changed

tutorials/img-classification-part1-training.ipynb

+3-6
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,10 @@
6666
"source": [
6767
"%matplotlib inline\n",
6868
"import numpy as np\n",
69-
"import matplotlib\n",
7069
"import matplotlib.pyplot as plt\n",
7170
"\n",
72-
"import azureml\n",
73-
"from azureml.core import Workspace, Run\n",
71+
"import azureml.core\n",
72+
"from azureml.core import Workspace\n",
7473
"\n",
7574
"# check core SDK version number\n",
7675
"print(\"Azure ML SDK Version: \", azureml.core.VERSION)"
@@ -205,7 +204,6 @@
205204
"metadata": {},
206205
"outputs": [],
207206
"source": [
208-
"import os\n",
209207
"import urllib.request\n",
210208
"\n",
211209
"os.makedirs('./data', exist_ok = True)\n",
@@ -354,7 +352,6 @@
354352
"metadata": {},
355353
"outputs": [],
356354
"source": [
357-
"import os\n",
358355
"script_folder = './sklearn-mnist'\n",
359356
"os.makedirs(script_folder, exist_ok=True)"
360357
]
@@ -690,7 +687,7 @@
690687
"metadata": {
691688
"authors": [
692689
{
693-
"name": "roastala"
690+
"name": "haining"
694691
}
695692
],
696693
"kernelspec": {

tutorials/img-classification-part2-deploy.ipynb

+2-9
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,9 @@
9999
"source": [
100100
"%matplotlib inline\n",
101101
"import numpy as np\n",
102-
"import matplotlib\n",
103102
"import matplotlib.pyplot as plt\n",
104103
" \n",
105104
"import azureml\n",
106-
"from azureml.core import Workspace, Run\n",
107105
"\n",
108106
"# display the core SDK version number\n",
109107
"print(\"Azure ML SDK Version: \", azureml.core.VERSION)"
@@ -129,13 +127,9 @@
129127
},
130128
"outputs": [],
131129
"source": [
132-
"from azureml.core import Workspace\n",
133-
"from azureml.core.model import Model\n",
134-
"\n",
135130
"ws = Workspace.from_config()\n",
136131
"model=Model(ws, 'sklearn_mnist')\n",
137132
"model.download(target_dir='.', exist_ok=True)\n",
138-
"import os \n",
139133
"# verify the downloaded model file\n",
140134
"os.stat('./sklearn_mnist_model.pkl')"
141135
]
@@ -521,7 +515,6 @@
521515
"outputs": [],
522516
"source": [
523517
"import requests\n",
524-
"import json\n",
525518
"\n",
526519
"# send a random row from the test set to score\n",
527520
"random_index = np.random.randint(0, len(X_test)-1)\n",
@@ -581,14 +574,14 @@
581574
"> * Deploy the model to ACI\n",
582575
"> * Test the deployed model\n",
583576
" \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."
577+
"You can also try out the [regression tutorial](regression-part1-data-prep.ipynb)."
585578
]
586579
}
587580
],
588581
"metadata": {
589582
"authors": [
590583
{
591-
"name": "roastala"
584+
"name": "haining"
592585
}
593586
],
594587
"kernelspec": {

tutorials/regression-part2-automated-ml.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@
468468
"> * Explored and reviewed training results\n",
469469
"> * Registered the best model\n",
470470
"\n",
471-
"[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)."
472472
]
473473
}
474474
],

0 commit comments

Comments
 (0)