From 206df82f9b954d6f5582f31955a504078e219d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Shan=C3=A9=20Winner?= <43390034+swinner95@users.noreply.github.com> Date: Tue, 8 Oct 2019 08:34:28 -0700 Subject: [PATCH] Update auto-ml-classification-with-deployment.ipynb --- ...to-ml-classification-with-deployment.ipynb | 56 ++----------------- 1 file changed, 5 insertions(+), 51 deletions(-) diff --git a/how-to-use-azureml/automated-machine-learning/classification-with-deployment/auto-ml-classification-with-deployment.ipynb b/how-to-use-azureml/automated-machine-learning/classification-with-deployment/auto-ml-classification-with-deployment.ipynb index 2e00e9c3..000cdafa 100644 --- a/how-to-use-azureml/automated-machine-learning/classification-with-deployment/auto-ml-classification-with-deployment.ipynb +++ b/how-to-use-azureml/automated-machine-learning/classification-with-deployment/auto-ml-classification-with-deployment.ipynb @@ -41,6 +41,8 @@ "\n", "Make sure you have executed the [configuration](../../../configuration.ipynb) before running this notebook.\n", "\n", + "An Enterprise workspace is required to complete this notebook.\n", + "In this notebook you will learn how to:\n", "1. Create an experiment using an existing workspace.\n", "2. Configure AutoML using `AutoMLConfig`.\n", @@ -61,61 +63,13 @@ "As part of the setup you have already created an Azure ML `Workspace` object. For AutoML you will need to create an `Experiment` object, which is a named object in a `Workspace` used to run experiments." ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "import logging\n", - "\n", - "from matplotlib import pyplot as plt\n", - "import numpy as np\n", - "import pandas as pd\n", - "from sklearn import datasets\n", - "\n", - "import azureml.core\n", - "from azureml.core.experiment import Experiment\n", - "from azureml.core.workspace import Workspace\n", - "from azureml.train.automl import AutoMLConfig\n", - "from azureml.train.automl.run import AutoMLRun" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "ws = Workspace.from_config()\n", - "\n", - "# choose a name for experiment\n", - "experiment_name = 'automl-classification-deployment'\n", - "# project folder\n", - "project_folder = './sample_projects/automl-classification-deployment'\n", - "\n", - "experiment=Experiment(ws, experiment_name)\n", - "\n", - "output = {}\n", - "output['SDK version'] = azureml.core.VERSION\n", - "output['Subscription ID'] = ws.subscription_id\n", - "output['Workspace'] = ws.name\n", - "output['Resource Group'] = ws.resource_group\n", - "output['Location'] = ws.location\n", - "output['Project Directory'] = project_folder\n", - "output['Experiment Name'] = experiment.name\n", - "pd.set_option('display.max_colwidth', -1)\n", - "outputDf = pd.DataFrame(data = output, index = [''])\n", - "outputDf.T" - ] - }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Train\n", "\n", + ".....This step (or The following steps) requires an Enterprise workspace to gain access to the features.\n", "Instantiate a AutoMLConfig object. This defines the settings and data used to run the experiment.\n", "\n", "|Property|Description|\n", @@ -484,7 +438,7 @@ "metadata": { "authors": [ { - "name": "savitam" + "name": "shwinne" } ], "kernelspec": { @@ -507,4 +461,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}