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


A retail company seeks to predict customer purchases using machine learning, and the best approach for interpreting individual predictions is discussed.
AI Summary available — skim the key points instantly. Show AI Generated Summary
Show AI Generated Summary

You work for a retail company. You have been asked to develop a model to predict whether a customer will purchase a product on a given day. Your team has processed the company’s sales data, and created a table with the following rows: • Customer_id • Product_id • Date • Days_since_last_purchase (measured in days) • Average_purchase_frequency (measured in 1/days) • Purchase (binary class, if customer purchased product on the Date)

You need to interpret your model’s results for each individual prediction. What should you do?

  • A. Create a BigQuery table. Use BigQuery ML to build a boosted tree classifier. Inspect the partition rules of the trees to understand how each prediction flows through the trees.
  • B. Create a Vertex AI tabular dataset. Train an AutoML model to predict customer purchases. Deploy the model to a Vertex AI endpoint and enable feature attributions. Use the “explain” method to get feature attribution values for each individual prediction.
  • C. Create a BigQuery table. Use BigQuery ML to build a logistic regression classification model. Use the values of the coefficients of the model to interpret the feature importance, with higher values corresponding to more importance
  • D. Create a Vertex AI tabular dataset. Train an AutoML model to predict customer purchases. Deploy the model to a Vertex AI endpoint. At each prediction, enable L1 regularization to detect non-informative features.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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

Featured Extension

Tame your tab chaos with Taskify Tabs

Reading too many articles at once? Don't let your browser slow down. Magically save your open tabs as dynamic tasks, set reminders, and get immediate peace of mind.

  • 1-Click Tab Conversion: Turn cluttered tabs into structured tasks in seconds.
  • Smart Reminders: Set due dates so you never forget an important read.
  • 100% Private: Everything stays stored securely, only on your local device.
📑 Cluttered Tab
✓ Action Task
Add to Chrome — It's Free

Share this article with your
friends and colleagues.

Facebook



Share this article with your
friends and colleagues.

Facebook