[Lesson 19] Add Notebook

pull/61/head
Amagash 3 years ago
parent 17d7ab5ed7
commit a4cb363af1

@ -0,0 +1,88 @@
{
"cells": [
{
"cell_type": "markdown",
"source": [
"# Data Science in the Cloud: The \"Azure ML SDK\" way \n",
"\n",
"## Introduction\n",
"\n",
"In this notebook, we will learn how to use the Azure ML SDK to train, deploy and consume a model through Azure ML.\n",
"\n",
"Pre-requisites:\n",
"1. You created an Azure ML workspace.\n",
"2. You loaded the [Heart Failure dataset](https://www.kaggle.com/andrewmvd/heart-failure-clinical-data) into Azure ML.\n",
"3. You uploaded this notebook into Azure ML Studio.\n",
"\n",
"The next steps are:\n",
"\n",
"1. Create an Experiment in an existing Workspace.\n",
"2. Create a Compute cluster.\n",
"3. Load the dataset.\n",
"4. Configure AutoML using AutoMLConfig.\n",
"5. Run the AutoML experiment.\n",
"6. Explore the results and get the best model.\n",
"7. Register the best model.\n",
"8. Deploy the best model.\n",
"9. Consume the endpoint.\n",
"\n",
"## Azure Machine Learning SDK-specific imports"
],
"metadata": {}
},
{
"cell_type": "code",
"execution_count": null,
"source": [
"from azureml.core import Workspace"
],
"outputs": [],
"metadata": {}
},
{
"cell_type": "markdown",
"source": [
"## Initialize Workspace\n",
"Initialize a workspace object from persisted configuration. Make sure the config file is present at .\\config.json"
],
"metadata": {}
},
{
"cell_type": "code",
"execution_count": null,
"source": [
"ws = Workspace.from_config()\n",
"print(ws.name, ws.resource_group, ws.location, ws.subscription_id, sep = '\\n')"
],
"outputs": [],
"metadata": {}
},
{
"cell_type": "markdown",
"source": [
"## Create an Azure ML experiment\n",
"\n",
"Let's create an experiment named 'aml-experiment' in the workspace we just initialized."
],
"metadata": {}
},
{
"cell_type": "code",
"execution_count": null,
"source": [
"experiment_name = 'aml-experiment'\n",
"experiment = Experiment(ws, experiment_name)"
],
"outputs": [],
"metadata": {}
}
],
"metadata": {
"orig_nbformat": 4,
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Loading…
Cancel
Save