Basic coding with the AzureML SDK
The first class you will work with is the AzureML Workspace
, a class that gives you access to all the resources within your workspace. To create a reference to your workspace, you will need the following information:
- Subscription ID: The subscription where the workspace is located. This is a Globally Unique Identifier (GUID, also known as a UUID) that consists of 32 hexadecimal (0-F) digits; for example,
ab05ab05-ab05-ab05-ab05-ab05ab05ab05
. You can find this ID in the Azure portal in the Properties tab of the subscription you are using. - Resource group name: The resource group that contains the AzureML workspace components.
- Workspace name: The name of the AzureML workspace.
You can store this information in variables by running the following assignments:
subscription_id = '<Subscription Id>' resource_group = 'packt-azureml-rg' workspace_name = 'packt-learning-mlw'
The first approach to...