PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #247
You work for a large retailer, and you need to build a model to predict customer chum. The company has a dataset of historical customer data, including customer demographics purchase history, and webs
The correct answer is B. Create a logistic regression model in BigQuery ML and register the model in Vertex AI Model. To predict customer churn, which is a binary classification problem, using BigQuery ML, create a logistic regression model, and register it with Vertex AI Model Registry for lifecycle management.
Question
Options
- ACreate a linear regression model in BigQuery ML, and register the model in Vertex AI Model
- BCreate a logistic regression model in BigQuery ML and register the model in Vertex AI Model
- CCreate a linear regression model in BigQuery ML. Use the ML.EVALUATE function to evaluate
- DCreate a logistic regression model in BigQuery ML. Use the ML.CONFUSION_MATRIX function
How the community answered
(27 responses)- A11% (3)
- B78% (21)
- C7% (2)
- D4% (1)
Why each option
To predict customer churn, which is a binary classification problem, using BigQuery ML, create a logistic regression model, and register it with Vertex AI Model Registry for lifecycle management.
Linear regression is used for predicting continuous numerical values, not binary outcomes like churn.
Customer churn prediction is a binary classification problem (churn or not churn), for which logistic regression is an appropriate algorithm. Creating the model in BigQuery ML is straightforward, and registering it in Vertex AI Model Registry enables centralized model management and deployment.
Linear regression is incorrect for churn prediction, as it's designed for continuous target variables, not binary classification.
While `ML.CONFUSION_MATRIX` is useful for evaluating classification models, it's typically part of the broader `ML.EVALUATE` function and this option omits the crucial step of registering the model in Vertex AI Model Registry.
Concept tested: BigQuery ML model selection for classification, model evaluation, and registration
Source: https://cloud.google.com/bigquery-ml/docs/logistic-regression
Topics
Community Discussion
No community discussion yet for this question.