
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Check a new dataset and model has been created
/ 25
Confirm that both machine learning models have been evaluated
/ 25
Improve model performance and evaluate the model
/ 25
Predict which new visitors will come back and purchase
/ 25
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
This lab is recommended for students who have enrolled in the Create ML Models with BigQuery ML skill badge. Are you ready for the challenge?
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
You have started a new role as a junior member of the Data Science department. Your team is working on multiple projects with a number of machine learning initiatives. You are expected to help with the development and assessment of data sets and machine learning models to help provide insights based on real work data sets.
You are expected to have the skills and knowledge for these tasks, so don't expect step-by-step guides to be provided.
The following tasks in this lab check your knowledge related to BigQuery and machine learning.
One of the projects you are working on needs to provide analysis based on real-world data. Your role in this project is to develop and evaluate machine learning models.
So, in this task, you have to create a dataset with the dataset ID ecommerce in which you can store your machine learning models.
Now create the machine learning model customer_classification_model to predict the performance of the model. Run the following query to create the customer_classification_model.
Click Check my progress to verify the objective.
In this task, you have to evaluate the performance of the customer_classification_model against new unseen evaluation data.
In BigQuery ML, roc_auc is simply a queryable field when evaluating your trained ML model. So run the query to evaluate how well the model performs using ML.EVALUATE
.
After evaluating your model, observe the predictive power of this model.
Click Check my progress to verify the objective.
In this task, use dataset features that may help the customer_classification_model model better understand the relationship between a visitor's first session and the likelihood that they purchase on a subsequent visit.
Now add some new features and create a second machine learning model called improved_customer_classification_model.
Now, evaluate the newly created model improved_customer_classification_model to see if there is better predictive power than customer_classification_model.
Click Check my progress to verify the objective.
Now create the machine learning model finalized_classification_model to predict the performance of the model. Run the following query to create the finalized_classification_model.
Click Check my progress to verify the objective.
You have created ML Models with BigQuery ML!
This self-paced lab is part of the Create ML Models with BigQuery ML skill badge. Completing this skill badge earns you the badge above, to recognize your achievement. Share your badge on your resume and social platforms, and announce your accomplishment using #GoogleCloudBadge.
This skill badge is part of Google Cloud’s Data Analyst learning path. If you have already completed the other skill badges in this learning path, search the catalog for other skill badges that you can enroll in.
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated February 13, 2025
Lab Last Tested February 13, 2025
Copyright 2025 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one