Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Azure Data Scientist Associate Certification Guide

You're reading from   Azure Data Scientist Associate Certification Guide A hands-on guide to machine learning in Azure and passing the Microsoft Certified DP-100 exam

Arrow left icon
Product type Paperback
Published in Dec 2021
Publisher Packt
ISBN-13 9781800565005
Length 448 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Andreas Botsikas Andreas Botsikas
Author Profile Icon Andreas Botsikas
Andreas Botsikas
Michael Hlobil Michael Hlobil
Author Profile Icon Michael Hlobil
Michael Hlobil
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Starting your cloud-based data science journey
2. Chapter 1: An Overview of Modern Data Science FREE CHAPTER 3. Chapter 2: Deploying Azure Machine Learning Workspace Resources 4. Chapter 3: Azure Machine Learning Studio Components 5. Chapter 4: Configuring the Workspace 6. Section 2: No code data science experimentation
7. Chapter 5: Letting the Machines Do the Model Training 8. Chapter 6: Visual Model Training and Publishing 9. Section 3: Advanced data science tooling and capabilities
10. Chapter 7: The AzureML Python SDK 11. Chapter 8: Experimenting with Python Code 12. Chapter 9: Optimizing the ML Model 13. Chapter 10: Understanding Model Results 14. Chapter 11: Working with Pipelines 15. Chapter 12: Operationalizing Models with Code 16. Other Books You May Enjoy

Running AutoML experiments with code

So far, in this chapter, you were fine-tuning a LassoLars model, performing a hyperparameter tuning process to identify the best value for the alpha parameter based on the training data. In this section, you will use AutoML in the AzureML SDK to automatically select the best combination of data preprocessing, model, and hyperparameter settings for your training dataset.

To configure an AutoML experiment through the AzureML SDK, you will need to configure an AutoMLConfig object. You will need to define the Task type, the Metric, the Training data, and the Compute budget you want to invest. The output of this process is a list of models from which you can select the best run and the best model associated with that run, as shown in Figure 9.11:

Figure 9.11 – AutoML process

Depending on the type of problem you are trying to model, you must select the task parameter, selecting either classification, regression, or...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime