Book Image

Mastering Azure Machine Learning. - Second Edition

By : Christoph Körner, Marcel Alsdorf
Book Image

Mastering Azure Machine Learning. - Second Edition

By: Christoph Körner, Marcel Alsdorf

Overview of this book

Azure Machine Learning is a cloud service for accelerating and managing the machine learning (ML) project life cycle that ML professionals, data scientists, and engineers can use in their day-to-day workflows. This book covers the end-to-end ML process using Microsoft Azure Machine Learning, including data preparation, performing and logging ML training runs, designing training and deployment pipelines, and managing these pipelines via MLOps. The first section shows you how to set up an Azure Machine Learning workspace; ingest and version datasets; as well as preprocess, label, and enrich these datasets for training. In the next two sections, you'll discover how to enrich and train ML models for embedding, classification, and regression. You'll explore advanced NLP techniques, traditional ML models such as boosted trees, modern deep neural networks, recommendation systems, reinforcement learning, and complex distributed ML training techniques - all using Azure Machine Learning. The last section will teach you how to deploy the trained models as a batch pipeline or real-time scoring service using Docker, Azure Machine Learning clusters, Azure Kubernetes Services, and alternative deployment targets. By the end of this book, you’ll be able to combine all the steps you’ve learned by building an MLOps pipeline.
Table of Contents (23 chapters)
1
Section 1: Introduction to Azure Machine Learning
5
Section 2: Data Ingestion, Preparation, Feature Engineering, and Pipelining
11
Section 3: The Training and Optimization of Machine Learning Models
17
Section 4: Machine Learning Model Deployment and Operations

Technical requirements

In this chapter, we will use the following Python libraries and versions to create content- and rating-based recommendation engines, as well as hybrid and online recommenders:

  • azureml-core 1.34.0
  • azureml-sdk 1.34.0
  • numpy 1.19.5
  • scipy 1.7.1
  • pandas 1.3.2
  • scikit-learn 0.24.2
  • lightgbm 3.2.1
  • pyspark 3.2.0
  • azure-cognitiveservices-personalizer 0.1.0

Similar to previous chapters, you can run this code using either a local Python interpreter or a notebook environment hosted in Azure Machine Learning.

For the Matchbox recommender example, you need to use Azure Machine Learning designer in your Azure Machine Learning workspace. For Azure Personalizer, you need to set up an Azure Personalizer resource in the Azure portal.

All code examples in this chapter can be found in the GitHub repository for this book: https://github.com/PacktPublishing/Mastering-Azure-Machine-Learning-Second-Edition/tree/main/chapter13.

...