Exam Professional Machine Learning Engineer topic 1 question 132 discussion - ExamTopics


AI Summary Hide AI Generated Summary

Problem Description

A bank's data science team is building a machine learning model to predict loan default risk. They have a large dataset (hundreds of millions of records) in BigQuery. The goal is to efficiently ingest this data into TensorFlow and Vertex AI for model development and comparison, while maintaining scalability.

Options

  • A. Using the BigQuery client library to load data into a Pandas DataFrame, then using tf.data.Dataset.from_tensor_slices().
  • B. Exporting data to CSV files in Cloud Storage, and using tf.data.TextLineDataset().
  • C. Converting the data into TFRecords, and using tf.data.TFRecordDataset().
  • D. Using TensorFlow I/O's BigQuery Reader to directly read the data.

Suggested Answer

The suggested answer is D: Using TensorFlow I/O's BigQuery Reader. This approach is recommended for its efficiency and scalability when dealing with very large datasets in BigQuery.

Sign in to unlock more AI features Sign in with Google

You work on a data science team at a bank and are creating an ML model to predict loan default risk. You have collected and cleaned hundreds of millions of records worth of training data in a BigQuery table, and you now want to develop and compare multiple models on this data using TensorFlow and Vertex AI. You want to minimize any bottlenecks during the data ingestion state while considering scalability. What should you do?

  • A. Use the BigQuery client library to load data into a dataframe, and use tf.data.Dataset.from_tensor_slices() to read it.
  • B. Export data to CSV files in Cloud Storage, and use tf.data.TextLineDataset() to read them.
  • C. Convert the data into TFRecords, and use tf.data.TFRecordDataset() to read them.
  • D. Use TensorFlow I/O’s BigQuery Reader to directly read the data.
Show Suggested Answer Hide Answer
Suggested Answer: D πŸ—³οΈ

Was this article displayed correctly? Not happy with what you see?


Share this article with your
friends and colleagues.

Facebook



Share this article with your
friends and colleagues.

Facebook