- Lab
- A Cloud Guru
Using Azure Automated ML
In this hands-on lab, you are working as a data scientist for Sam's Taxi, a taxi cab company. You’ve been asked to come up with a model that can be used to predict fare prices based on length of drive and time it takes to drive there. You’ll use Azure Machine Learning studio and Azure automated machine learning to create a regression model that will predict fare prices. You’ll also get a chance to deploy the model to an real-time endpoint.
Path Info
Table of Contents
-
Challenge
Open the Azure ML Studio and Create a New Dataset
In the Azure ML studio, create a new dataset using the taxi fare data file from Microsoft.
-
Challenge
Configure and Start the Automated ML Run
Change the timeout of the job to 15 minutes by expanding limits on the task settings page, and set the Experiment timeout (minutes) to 15, so it will stop after approximately 15 minutes.
-
Challenge
Review Results
Take a look at some of the metrics for the run, like the R2 score, or the root mean squared error.
-
Challenge
Deploy the Model to a Real-time Endpoint
Make sure you change the virtual machine to a DS2_v2 size and change the instance count to 1, or your resources will be deleted.
-
Challenge
Test Your Newly Deployed Model
-
Use the test tab and input the JSON data below to test your model and see how accurate the predicted value is compared to the actual value of 17.
{ "input_data":{ "data":[ { "vendor_id":"CMT", "rate_code":1, "passenger_count":1, "trip_time_in_secs":1271, "trip_distance":3.8, "payment_type":"CRD" } ] } }
-
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.