Professional Machine Learning Engineer
You have deployed a custom classification model to an Agent Platform endpoint to predict the likelihood of customer churn in real-time. You need to collect the data to calculate the model’s exact precision and recall by comparing production predictions with ground truth data in BigQuery. You want to minimize development effort. What should you do?
- A. Modify the prediction container to asynchronously write the prediction result to BigQuery after every request.
- B. Schedule a daily Agent Platform batch prediction job that uses the same model resource as the deployed endpoint and stores predictions in BigQuery.
- C. Update the model deployment parameters to enable request-response logging to BigQuery. Set the sampling rate to 1.0.
- D. Create a model evaluation job by providing the model resource and the BigQuery ground truth table to calculate precision and recall.