Book Image

Azure Data Scientist Associate Certification Guide

By : Andreas Botsikas, Michael Hlobil
Book Image

Azure Data Scientist Associate Certification Guide

By: Andreas Botsikas, Michael Hlobil

Overview of this book

The Azure Data Scientist Associate Certification Guide helps you acquire practical knowledge for machine learning experimentation on Azure. It covers everything you need to pass the DP-100 exam and become a certified Azure Data Scientist Associate. Starting with an introduction to data science, you'll learn the terminology that will be used throughout the book and then move on to the Azure Machine Learning (Azure ML) workspace. You'll discover the studio interface and manage various components, such as data stores and compute clusters. Next, the book focuses on no-code and low-code experimentation, and shows you how to use the Automated ML wizard to locate and deploy optimal models for your dataset. You'll also learn how to run end-to-end data science experiments using the designer provided in Azure ML Studio. You'll then explore the Azure ML Software Development Kit (SDK) for Python and advance to creating experiments and publishing models using code. The book also guides you in optimizing your model's hyperparameters using Hyperdrive before demonstrating how to use responsible AI tools to interpret and debug your models. Once you have a trained model, you'll learn to operationalize it for batch or real-time inferences and monitor it in production. By the end of this Azure certification study guide, you'll have gained the knowledge and the practical skills required to pass the DP-100 exam.
Table of Contents (17 chapters)
1
Section 1: Starting your cloud-based data science journey
6
Section 2: No code data science experimentation
9
Section 3: Advanced data science tooling and capabilities

Training a simple sklearn model within notebooks

The goal of this section is to create a Python script that will produce a simple model on top of the diabetes dataset that you registered in Working with datasets in Chapter 7, The AzureML Python SDK. The model will be getting numeric inputs and will be predicting a numeric output. To create this model, you will need to prepare the data, train the model, evaluate how the trained model performs, and then store it so that you will be able to reuse it in the future, as seen in Figure 8.1:

Figure 8.1 – Process to produce the diabetes-predicting model

Let's start by understanding the dataset you will be working with. The diabetes dataset consists of data from 442 diabetes patients. Each row represents one patient. Each row consists of 10 features (0 to 9 in Figure 8.2) such as age, blood pressure, and blood sugar level. These features have been transformed (mean-centered and scaled), a process similar...