Book Image

Azure Machine Learning Engineering

By : Sina Fakhraee, Balamurugan Balakreshnan, Megan Masanz
Book Image

Azure Machine Learning Engineering

By: Sina Fakhraee, Balamurugan Balakreshnan, Megan Masanz

Overview of this book

Data scientists working on productionizing machine learning (ML) workloads face a breadth of challenges at every step owing to the countless factors involved in getting ML models deployed and running. This book offers solutions to common issues, detailed explanations of essential concepts, and step-by-step instructions to productionize ML workloads using the Azure Machine Learning service. You’ll see how data scientists and ML engineers working with Microsoft Azure can train and deploy ML models at scale by putting their knowledge to work with this practical guide. Throughout the book, you’ll learn how to train, register, and productionize ML models by making use of the power of the Azure Machine Learning service. You’ll get to grips with scoring models in real time and batch, explaining models to earn business trust, mitigating model bias, and developing solutions using an MLOps framework. By the end of this Azure Machine Learning book, you’ll be ready to build and deploy end-to-end ML solutions into a production system using the Azure Machine Learning service for real-time scenarios.
Table of Contents (17 chapters)
1
Part 1: Training and Tuning Models with the Azure Machine Learning Service
7
Part 2: Deploying and Explaining Models in AMLS
12
Part 3: Productionizing Your Workload with MLOps

Training on a compute instance

You can train a model on a compute instance or on a compute cluster. In this section, we will use our existing compute instance before continuing with training on a compute cluster.

To begin working with a compute instance, we will need to turn on the compute instance that was created in Chapter 1, Introducing the Azure Machine Learning Service.

Follow these steps to train a model on a compute instance within AMLS:

  1. Go to https://ml.azure.com.
  2. Select your workspace name.
  3. On the left side of the workspace, click Compute:

Figure 3.20 – Compute instance icon

  1. On the Compute screen, select your compute instance and select Start:

Figure 3.21 – Start compute

Your compute instance will change from Stopped to Starting status. Once the compute instance moves from Starting to Running status, it is ready for use.

  1. Click on the Terminal blue hyperlink under applications...