QuestionQ94

VerifiedDrift Detection and Lakehouse Monitoring

A Machine Learning Engineer must create monitors for various table types in their Databricks environment. In particular, they need to create a monitor for an inference table that tracks model performance for a classification problem.

They have an inference table named ml_models.production.credit_risk_predictions with these columns:

  • request_timestamp: timestamp for each prediction request
  • customer_features: model input features
  • predicted_risk_score: model predictions
  • actual_default: ground-truth labels (optional)
  • model_version: identifier of the model version used

Which code snippet correctly creates an InferenceLog monitor for this table?

Explanation

An InferenceLog monitor is intended for model request logs and uses a classification or regression problem type, prediction, timestamp, model-ID, and time-granularity configuration; a ground-truth label can also be supplied. For this classification table, predicted_risk_score, request_timestamp, model_version, and actual_default must be mapped with PROBLEM_TYPE_CLASSIFICATION, which is exactly the configuration in choice C.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!