QuestionQ38

VerifiedDrift Detection and Lakehouse Monitoring

A Machine Learning Engineer has deployed a classification fraud-detection model with inference tables enabled. The model categorizes credit-card transactions as “fraud” or “legitimate”. The inference table includes a merchant_category feature containing four-digit codes that categorize businesses by the goods or services they offer. After configuring a Lakehouse Monitor with an Inference Log profile, they observe two important monitoring results:

  1. Overall model accuracy remains constant at 92%.
  2. Drift metrics indicate that the merchant_category feature has significant drift during the past month.

The engineer wants to determine whether this feature drift is making the model perform worse specifically at fraud detection, rather than affecting only overall performance.

Which Lakehouse Monitor metrics should they examine to make this determination?

Explanation

For a classification InferenceLog profile, precision and recall are reported as one-vs-all metrics for individual classes, so the values for the fraud class directly show changes in the model’s ability to identify fraud and the reliability of fraud predictions. A KS-test p-value assesses distributional drift for a numeric feature, linking a shift in the four-digit merchant_category codes with the class-specific performance trend. Databricks documents that InferenceLog profiles produce model-quality metrics when prediction and label columns are supplied, and that precision and recall include one-vs-all class values; it also documents KS testing for numeric-column drift.

Learn more

Community Discussion

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