update tutorials

This commit is contained in:
Roope Astala
2019-01-22 14:24:31 -05:00
parent 88f6a966cc
commit 0d91f2d697
3 changed files with 6 additions and 16 deletions

View File

@@ -66,11 +66,10 @@
"source": [
"%matplotlib inline\n",
"import numpy as np\n",
"import matplotlib\n",
"import matplotlib.pyplot as plt\n",
"\n",
"import azureml\n",
"from azureml.core import Workspace, Run\n",
"import azureml.core\n",
"from azureml.core import Workspace\n",
"\n",
"# check core SDK version number\n",
"print(\"Azure ML SDK Version: \", azureml.core.VERSION)"
@@ -205,7 +204,6 @@
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"import urllib.request\n",
"\n",
"os.makedirs('./data', exist_ok = True)\n",
@@ -354,7 +352,6 @@
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"script_folder = './sklearn-mnist'\n",
"os.makedirs(script_folder, exist_ok=True)"
]
@@ -690,7 +687,7 @@
"metadata": {
"authors": [
{
"name": "roastala"
"name": "haining"
}
],
"kernelspec": {

View File

@@ -99,11 +99,9 @@
"source": [
"%matplotlib inline\n",
"import numpy as np\n",
"import matplotlib\n",
"import matplotlib.pyplot as plt\n",
" \n",
"import azureml\n",
"from azureml.core import Workspace, Run\n",
"\n",
"# display the core SDK version number\n",
"print(\"Azure ML SDK Version: \", azureml.core.VERSION)"
@@ -129,13 +127,9 @@
},
"outputs": [],
"source": [
"from azureml.core import Workspace\n",
"from azureml.core.model import Model\n",
"\n",
"ws = Workspace.from_config()\n",
"model=Model(ws, 'sklearn_mnist')\n",
"model.download(target_dir='.', exist_ok=True)\n",
"import os \n",
"# verify the downloaded model file\n",
"os.stat('./sklearn_mnist_model.pkl')"
]
@@ -521,7 +515,6 @@
"outputs": [],
"source": [
"import requests\n",
"import json\n",
"\n",
"# send a random row from the test set to score\n",
"random_index = np.random.randint(0, len(X_test)-1)\n",
@@ -581,14 +574,14 @@
"> * Deploy the model to ACI\n",
"> * Test the deployed model\n",
" \n",
"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."
"You can also try out the [regression tutorial](regression-part1-data-prep.ipynb)."
]
}
],
"metadata": {
"authors": [
{
"name": "roastala"
"name": "haining"
}
],
"kernelspec": {

View File

@@ -468,7 +468,7 @@
"> * Explored and reviewed training results\n",
"> * Registered the best model\n",
"\n",
"[Deploy your model](02.deploy-models.ipynb) with Azure Machine Learning."
"You can also try out the [image classification tutorial](img-classification-part1-training.ipynb)."
]
}
],