PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #98
You have been given a dataset with sales predictions based on your company's marketing activities. The data is structured and stored in BigQuery, and has been carefully managed by a team of data analy
The correct answer is A. Use BigQuery ML to run several regression models, and analyze their performance.. For rapid experimentation with various ML models on structured data in BigQuery, BigQuery ML offers the most efficient and self-serviced solution, directly leveraging the existing data.
Question
Options
- AUse BigQuery ML to run several regression models, and analyze their performance.
- BRead the data from BigQuery using Dataproc, and run several models using SparkML.
- CUse Vertex AI Workbench user-managed notebooks with scikit-learn code for a variety of ML
- DTrain a custom TensorFlow model with Vertex AI, reading the data from BigQuery featuring a
How the community answered
(31 responses)- A81% (25)
- B10% (3)
- C6% (2)
- D3% (1)
Why each option
For rapid experimentation with various ML models on structured data in BigQuery, BigQuery ML offers the most efficient and self-serviced solution, directly leveraging the existing data.
BigQuery ML (BQML) allows users to train and evaluate a variety of models, including regression models, directly within BigQuery using SQL. This approach is highly efficient and self-serviced as it avoids data movement and complex setup, enabling quick experimentation and performance analysis within a few hours.
Using Dataproc and SparkML introduces overhead for cluster management and requires writing Spark code, making it less self-serviced and efficient for this use case than BQML.
Vertex AI Workbench notebooks with scikit-learn would require moving data out of BigQuery into the notebook environment, which can be inefficient for large datasets and adds setup complexity compared to BQML.
Training a custom TensorFlow model with Vertex AI involves significant development effort in custom code and architecture, contradicting the need for efficiency and self-service to run several models quickly.
Concept tested: Google Cloud ML tools for rapid prototyping on structured data
Source: https://cloud.google.com/bigquery-ml/docs/introduction
Topics
Community Discussion
No community discussion yet for this question.