- create workspace (5min)
- create ntb (5min)
- part1 - data (15min)
- part2 - train locally (15min)
- part3 - train on remote automl (35min)
- part4 - deployment (25min)
A workspace is a foundational resource in the cloud that you use to experiment, train, and deploy machine learning models. It ties your Azure subscription and resource group to an easily consumed object in the SDK. If you already have an Azure Machine Learning service workspace, skip to the next section. Otherwise, create one now.
-
Sign in to Azure portal by using the credentials for your Azure subscription.
-
In the upper-left corner of Azure portal, select + Create a resource.
-
Use the search bar to find Machine Learning.
-
Select Machine Learning.
-
In the Machine Learning pane, select Create to begin.
-
Provide the following information to configure your new workspace:
Field Description Workspace name Enter a unique name that identifies your workspace. In this example, we use docs-ws. Names must be unique across the resource group. Use a name that's easy to recall and to differentiate from workspaces created by others. Subscription Select the Azure subscription that you want to use. Resource group Use an existing resource group in your subscription or enter a name to create a new resource group. A resource group holds related resources for an Azure solution. In this example, we use docs-aml. Location Select the location closest to your users and the data resources to create your workspace. Workspace edition Select Basic as the workspace type for this tutorial. The workspace type (Basic & Enterprise) determines the features to which you’ll have access and pricing. Everything in this tutorial can be performed with either a Basic or Enterprise workspace. -
After you are finished configuring the workspace, select Review + Create.
[!Warning] It can take several minutes to create your workspace in the cloud.
When the process is finished, a deployment success message appears.
-
To view the new workspace, select Go to resource.
Go to AML Studio and sign in and locate your newly created workspace
In your workspace in Azure Machine Learning studio, create a new compute instance from either the Compute section or in the Notebooks section when you are ready to run one of your notebooks.
Hit next.
Field | Description |
---|---|
Compute name | |
Virtual machine type | Choose CPU or GPU. This type cannot be changed after creation |
Virtual machine size | Supported virtual machine sizes might be restricted in your region. Check the availability list |
Enable/disable SSH access | SSH access is disabled by default. SSH access cannot be. changed after creation. Make sure to enable access if you plan to debug interactively with VS Code Remote |
Advanced settings | Optional. Configure a virtual network. Specify the Resource group, Virtual network, and Subnet to create the compute instance inside an Azure Virtual Network (vnet). For more information, see these network requirements for vnet . |
You can also create an instance
- Directly from the integrated notebooks experience
- In Azure portal
- From Azure Resource Manager template
- With Azure Machine Learning SDK
- From the CLI extension for Azure Machine Learning
The dedicated cores per region per VM family quota and total regional quota, which applies to compute instance creation. is unified and shared with Azure Machine Learning training compute cluster quota. Stopping the compute instance does not release quota to ensure you will be able to restart the compute instance.
After you created Compute Instance simply access the Jupyter from Compute page of your AML Studio.
In next part of the lab you download a git repo.
-
Navigate to you folder in Jupyter (it is your username) and select New->Terminal
-
Clone the GitHub repository for this lab in the terminal
cd *<your_username>*
git clone https://github.com/michalmar/azure-labs.git
After that you should see something similar:
- Go to lab notebook:
HOL-Azure Machine Learning service.ipynb
in HOL02-AML folder in the cloned repo.