Explore Hyperparameters in Azure Machine Learning

45 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you will become familiar with performing the basic actions for hyperparameter tuning.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Compute Resource and Access the Provided Jupyter Notebook

Utilize the provisioned workspace to create a compute instance. This will be used to power a Jupyter notebook and execute your machine learning tasks.

If you plan to utilize the existing Jupyter notebook with the data and steps required to create and run the experiment already preconfigured, clone the repo from GitHub.

Use the Standard_DS2_v2 VM size.

Simulate Sample Data

Generate random data to simulate the diabetes patient information.

Create a Training Script Using Hyperparameters

Prepare a training script that will train the model using hyperparameters.

Find and Register the Best Model

Run a hyperdrive experiment to find the best performing model, and then register it.

Additional Resources

Lab Scenario

In this hands-on lab scenario, you are a Data Scientist for Awesome Company. Recently, the company has been using the Azure Machine Learning service to implement and run their machine learning workloads. As part of its diabetes research, you have been tasked with using hyperparameters to deliver the best model performance possible.

To accomplish your goal, the following should be completed:

  • Simulate sample data
  • Create a training script using hyperparameters
  • Use a hyperdrive experiment to determine and register the best model

Lab Setup

Use the Standard_DS2_v2 VM size for the compute instance.

To utilize the preconfigured Jupyter notebook, clone the repo from GitHub Repo.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?