Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Machine Learning Engineer Exam - Topic 1 Question 76 Discussion

Posted by Hassie on May 02, 2024 at 01:02 PM

You work for a company that sells corporate electronic products to thousands of businesses worldwide. Your company stores historical customer data in BigQuery. You need to build a model that predicts customer lifetime value over the next three years. You want to use the simplest approach to build the model. What should you do?

Suggested Answer: D

The best option to build a comprehensive system that recommends images to users that are similar in appearance to their own uploaded images is to download a pretrained convolutional neural network (CNN), and use the model to generate embeddings of the input images. Embeddings are low-dimensional representations of high-dimensional data that capture the essential features and semantics of the data. By using a pretrained CNN, you can leverage the knowledge learned from large-scale image datasets, such as ImageNet, and apply it to your own domain. A pretrained CNN can be used as a feature extractor, where the output of the last hidden layer (or any intermediate layer) is taken as the embedding vector for the input image. You can then measure the similarity between embeddings using a distance metric, such as cosine similarity or Euclidean distance, and recommend images that have the highest similarity scores to the user's uploaded image. Option A is incorrect because downloading a pretrained CNN and fine-tuning the model to predict hashtags based on the input images may not capture the visual similarity of the images, as hashtags may not reflect the appearance of the images accurately. For example, two images of different breeds of dogs may have the same hashtag #dog, but they may not look similar to each other. Moreover, fine-tuning the model may require additional data and computational resources, and it may not generalize well to new images that have different or missing hashtags. Option B is incorrect because retrieving image labels and dominant colors from the input images using the Vision API may not capture the visual similarity of the images, as labels and colors may not reflect the fine-grained details of the images. For example, two images of the same breed of dog may have different labels and colors depending on the background, lighting, and angle of the image. Moreover, using the Vision API may incur additional costs and latency, and it may not be able to handle custom or domain-specific labels. Option C is incorrect because using the provided hashtags to create a collaborative filtering algorithm may not capture the visual similarity of the images, as collaborative filtering relies on the ratings or preferences of users, not the features of the images. For example, two images of different animals may have similar ratings or preferences from users, but they may not look similar to each other. Moreover, collaborative filtering may suffer from the cold start problem, where new images or users that have no ratings or preferences cannot be recommended.Reference:

Image similarity search with TensorFlow

Image embeddings documentation

Pretrained models documentation

Similarity metrics documentation


Get Premium Professional Machine Learning Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
43 comments · newest first
LI
Lisbeth 11 months ago
Surprised that ARIMA is even mentioned here!
AN
Annita 11 months ago
D seems more complex than necessary.
KA
Kayleigh 11 months ago
Wait, why not just use AutoML directly?
JE
Jesusa 11 months ago
Totally agree, C makes the most sense!
QU
Quinn 12 months ago
I think C is the simplest option.
GE
Geoffrey 12 months ago
I’m leaning towards option C, but I have a nagging feeling that I should double-check the differences between ARIMA and AutoML for this scenario.
TO
Tom 1 year ago
I feel like the ARIMA model might be more complex than what we need for predicting customer lifetime value. Maybe the AutoML regression is the way to go?
RO
Rozella 1 year ago
I remember practicing with Vertex AI Workbench, but I can't recall if it was better for ARIMA or AutoML models.
CE
Cecily 1 year ago
I think using BigQuery Studio for the AutoML regression model sounds like a straightforward approach, but I'm not entirely sure if it's the simplest option.
NA
Nada 1 year ago
Okay, this is a good one. I'm leaning towards option A - using BigQuery Studio to create an ARIMA model. That seems like the simplest approach, and ARIMA is a pretty standard time series forecasting technique, so it should work well for predicting customer lifetime value.
JU
Juliann 1 year ago
I think option D might be the way to go. Using a Vertex AI Workbench notebook would give me more flexibility and control over the model-building process. Plus, I'm more comfortable working in a notebook environment than just using the SQL editor.
MA
Margot 1 year ago
Hmm, I'm a bit unsure about this one. I'm not super familiar with the different model types, so I'll need to do some research to figure out which one is the best fit for predicting customer lifetime value. Maybe I'll start by looking into the differences between ARIMA and AutoML regression.
TA
Tabetha 1 year ago
This seems pretty straightforward. I'd go with option C - using BigQuery Studio to create an AutoML regression model. That seems like the simplest approach to build the model.
NA
Nana 1 year ago
I'm a little confused on this one. I know the different slices that make up an E2E Network Slice, but I can't quite recall if the cloud slice is one of them or not. I'll have to review my notes quickly before answering.
SH
Sharika 1 year ago
I'm a bit unsure about this one. The use of cheap sensors and proprietary protocols could also introduce major security issues. I'll need to review my notes to make the best choice.
DE
Deonna 1 year ago
Hmm, I'm not sure. Licensing could also be really important, especially if you're moving from on-premises software to cloud-based services. You don't want to get hit with unexpected licensing fees.
LO
Lon 1 year ago
I bet the company's CTO is going to be impressed when they see 'AutoML' in the answer. Might as well throw in some 'Vertex AI' for good measure, right?
BE
Bernardine 1 year ago
↳ replying to Lon
D) Create a Vertex AI Workbench notebook. Use IPython magic to run the create model statement to create an AutoML regression model.
CA
Carey 1 year ago
↳ replying to Lon
C) Access BigQuery Studio in the Google Cloud console. Run the create model statement in the SQL editor to create an AutoML regression model.
SH
Shelia 1 year ago
↳ replying to Lon
B) Create a Vertex AI Workbench notebook. Use IPython magic to run the create model statement to create an ARIMA model.
YO
Yong 1 year ago
↳ replying to Lon
A) Access BigQuery Studio in the Google Cloud console. Run the create model statement in the SQL editor to create an ARIMA model.
HU
Huey 1 year ago
D) Ooh, a combination of Vertex AI and AutoML regression! Now we're talking some high-tech stuff. I better brush up on my Python magic before tackling this one.
FR
Francine 1 year ago
↳ replying to Huey
D) Create a Vertex AI Workbench notebook. Use IPython magic to run the create model statement to create an AutoML regression model.
LY
Lynelle 1 year ago
↳ replying to Huey
B) Create a Vertex AI Workbench notebook. Use IPython magic to run the create model statement to create an ARIMA model.
LO
Lovetta 1 year ago
↳ replying to Huey
A) Access BigQuery Studio in the Google Cloud console. Run the create model statement in the SQL editor to create an ARIMA model.
SU
Susana 1 year ago
C) AutoML regression, huh? Sounds like a good compromise between simplicity and potential complexity. I'm intrigued, but I hope it doesn't overfits the data.
SH
Shaun 1 year ago
↳ replying to Susana
B) Create a Vertex AI Workbench notebook. Use IPython magic to run the create model statement to create an ARIMA model.
EL
Eleni 1 year ago
↳ replying to Susana
C) AutoML regression, huh? Sounds like a good compromise between simplicity and potential complexity. I'm intrigued, but I hope it doesn't overfit the data.
YO
Yoko 1 year ago
↳ replying to Susana
A) Access BigQuery Studio in the Google Cloud console. Run the create model statement in the SQL editor to create an ARIMA model.
PA
Pa 1 year ago
B) Vertex AI Workbench, eh? Looks like we're going for a bit of a fancier approach. But hey, if it gets the job done, I'm all for it.
BR
Brianne 1 year ago
↳ replying to Pa
D) Create a Vertex AI Workbench notebook. Use IPython magic to run the create model statement to create an AutoML regression model.
JE
Jeff 1 year ago
↳ replying to Pa
A) Access BigQuery Studio in the Google Cloud console. Run the create model statement in the SQL editor to create an ARIMA model.
SO
Sol 1 year ago
↳ replying to Pa
B) Vertex AI Workbench, eh? Looks like we're going for a bit of a fancier approach. But hey, if it gets the job done, I'm all for it.
CA
Carylon 1 year ago
↳ replying to Pa
A) Access BigQuery Studio in the Google Cloud console. Run the create model statement in the SQL editor to create an ARIMA model.
CA
Caitlin 2 years ago
That's a good point, Dong. AutoML regression models might provide more accurate predictions in this case.
DO
Dong 2 years ago
I disagree, I believe option D is better. AutoML regression models can handle complex relationships in the data.
GA
Gaston 2 years ago
A) Ah, the classic ARIMA approach! Efficient and straightforward, just the way I like it. Although, I wonder if the customer data might have some hidden complexities that could trip up the model.
OL
Olive 1 year ago
↳ replying to Gaston
B) I agree, the ARIMA model is a good starting point. We can always adjust it if needed.
AN
Annette 1 year ago
↳ replying to Gaston
A) Access BigQuery Studio in the Google Cloud console. Run the create model statement in the SQL editor to create an ARIMA model.
CA
Caitlin 2 years ago
I think option A is the best choice. ARIMA models are simple and effective for time series data.
RO
Rosalia 2 years ago
That's a good point, Quentin. AutoML regression models might provide more accurate predictions in this case.
QU
Quentin 2 years ago
I disagree, I believe option D is better. AutoML regression models can handle complex patterns in the data.
RO
Rosalia 2 years ago
I think option A is the best choice. ARIMA models are simple and effective for time series data.
0/2000 characters

Save Cancel