Unlock the power of your data in the cloud! Get hands-on with Google Cloud's core data services like BigQuery and Looker to validate your practical skills in data ingestion, analysis, and management, and earn your Associate Data Practitioner certification!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A data analyst at an e-commerce company needs to group customers into distinct behavioral segments based on features such as annual spending, visit frequency, and average order value. The dataset does not contain any historical segment labels or predefined target categories.
Which model type should the analyst specify in the CREATE MODEL statement using BigQuery ML?
K-means clustering is an unsupervised machine learning algorithm built directly into BigQuery ML. It partitions a dataset into a specified number ($k$) of distinct, non-overlapping clusters or segments based on the mathematical similarity and distance between feature values of individual data points.
MODEL_TYPE='KMEANS' inside the OPTIONS clause of a CREATE MODEL SQL statement without needing separate data export or external training infrastructure.input_label_cols).ML.CLUSTERS and ML.PREDICT.K-means clustering is the industry-standard algorithm within BigQuery ML for data segmentation and customer grouping tasks where ground-truth outcome labels are unavailable.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.