How to interpret individual predictions using Vertex AI?
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?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests the distinction between global model interpretation (coefficients, tree rules) and local prediction explanation, requiring the use of Vertex AI feature attributions for individual instances.
To interpret individual model predictions on Google Cloud, enabling Vertex AI feature attributions is the standard approach. The community consensus confirms that using the 'explain' method on an AutoML tabular model provides the specific insights needed for each prediction.
Selecting Option C is a common error because logistic regression coefficients explain global feature importance, whereas the question specifically asks for the rationale behind individual predictions.
Community Discussion (6 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option B is correct because Vertex AI AutoML Tables offers built-in explainability features designed for local interpretability. By enabling feature attributions and using the "explain" method, you obtain attribution values (such as Shapley values) that quantify the contribution of each feature to a specific prediction's output. This directly addresses the business requirement to understand exactly why a specific customer is predicted to purchase a product on a given day.Why the Other Options Are Wrong
Option A is incorrect because manually inspecting partition rules in boosted trees is complex, impractical for large ensembles, and does not provide a clear quantitative attribution for individual predictions. Option C is incorrect because logistic regression coefficients indicate the global relationship and weight of features across the entire dataset, not the specific contribution of a feature's value for a single data point. Option D is incorrect because L1 regularization is a training technique used for feature selection to prevent overfitting, not a method for interpreting predictions at inference time.Community Comment Notes
Community comments strongly support Option B, highlighting that feature attributions provide "fine-grained insights" into how features like days_since_last_purchase contribute to specific outputs. Users noted that this is the "simplest approach" and the "most direct approach" for local interpretability compared to other methods. Comments also emphasized that Vertex AI integrates these capabilities seamlessly with AutoML, making it the preferred solution over manual inspection of trees or global coefficients.Official Reference
Exam Strategy
When you see keywords like "individual prediction" or "interpret results for each," immediately look for options involving Explainable AI (XAI) or feature attributions. Avoid choosing options that rely on global metrics like model coefficients or manual tree inspection for local interpretability requirements.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →