ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 265 - Professional Machine Learning Engineer discussion

Report
Export

You have trained an XGBoost model that you plan to deploy on Vertex Al for online prediction. You are now uploading your model to Vertex Al Model Registry, and you need to configure the explanation method that will serve online prediction requests to be returned with minimal latency. You also want to be alerted when feature attributions of the model meaningfully change over time. What should you do?

A.
1 Specify sampled Shapley as the explanation method with a path count of 5. 2 Deploy the model to Vertex Al Endpoints. 3. Create a Model Monitoring job that uses prediction drift as the monitoring objective.
Answers
A.
1 Specify sampled Shapley as the explanation method with a path count of 5. 2 Deploy the model to Vertex Al Endpoints. 3. Create a Model Monitoring job that uses prediction drift as the monitoring objective.
B.
1 Specify Integrated Gradients as the explanation method with a path count of 5. 2 Deploy the model to Vertex Al Endpoints. 3. Create a Model Monitoring job that uses prediction drift as the monitoring objective.
Answers
B.
1 Specify Integrated Gradients as the explanation method with a path count of 5. 2 Deploy the model to Vertex Al Endpoints. 3. Create a Model Monitoring job that uses prediction drift as the monitoring objective.
C.
1. Specify sampled Shapley as the explanation method with a path count of 50. 2. Deploy the model to Vertex Al Endpoints. 3. Create a Model Monitoring job that uses training-serving skew as the monitoring objective.
Answers
C.
1. Specify sampled Shapley as the explanation method with a path count of 50. 2. Deploy the model to Vertex Al Endpoints. 3. Create a Model Monitoring job that uses training-serving skew as the monitoring objective.
D.
1 Specify Integrated Gradients as the explanation method with a path count of 50. 2. Deploy the model to Vertex Al Endpoints. 3 Create a Model Monitoring job that uses training-serving skew as the monitoring objective.
Answers
D.
1 Specify Integrated Gradients as the explanation method with a path count of 50. 2. Deploy the model to Vertex Al Endpoints. 3 Create a Model Monitoring job that uses training-serving skew as the monitoring objective.
Suggested answer: A

Explanation:

Sampled Shapley is a fast and scalable approximation of the Shapley value, which is a game-theoretic concept that measures the contribution of each feature to the model prediction. Sampled Shapley is suitable for online prediction requests, as it can return feature attributions with minimal latency. The path count parameter controls the number of samples used to estimate the Shapley value, and a lower value means faster computation. Integrated Gradients is another explanation method that computes the average gradient along the path from a baseline input to the actual input. Integrated Gradients is more accurate than Sampled Shapley, but also more computationally intensive. Therefore, it is not recommended for online prediction requests, especially with a high path count. Prediction drift is the change in the distribution of feature values or labels over time. It can affect the performance and accuracy of the model, and may require retraining or redeploying the model. Vertex AI Model Monitoring allows you to monitor prediction drift on your deployed models and endpoints, and set up alerts and notifications when the drift exceeds a certain threshold. You can specify an email address to receive the notifications, and use the information to retrigger the training pipeline and deploy an updated version of your model. This is the most direct and convenient way to achieve your goal. Training-serving skew is the difference between the data used for training the model and the data used for serving the model. It can also affect the performance and accuracy of the model, and may indicate data quality issues or model staleness. Vertex AI Model Monitoring allows you to monitor training-serving skew on your deployed models and endpoints, and set up alerts and notifications when the skew exceeds a certain threshold. However, this is not relevant to the question, as the question is about the feature attributions of the model, not the data distribution.Reference:

Vertex AI: Explanation methods

Vertex AI: Configuring explanations

Vertex AI: Monitoring prediction drift

Vertex AI: Monitoring training-serving skew

asked 18/09/2024
Kevin Lizano
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first