cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How do you evaluate a replacement model when reviewers corrected the historical outputs?

tajamulkhan
Esteemed Contributor

Human-reviewed outputs seem useful for evaluating a replacement model, but the review process can introduce gaps.

For example, reviewers may have corrected only high-value invoices while smaller invoices passed through without review. Treating all historical outputs as equally reliable labels would be questionable.

I would separate reviewed records from unreviewed ones and record how each label was obtained.

How do you build a representative evaluation set from this kind of production history without limiting the test to the cases that already received attention?

1 REPLY 1

balajij8
Esteemed Contributor III

Build the evaluation set by sampling from all production records - not only the ones that were reviewed. The reviewed invoices are a biased group as they were checked because they were high value or looked risky. Sample across the full history that mirrors traffic (mix of invoice values, document types and error patterns), then get that sample labeled. Keep the corrected records as one tagged group, since they are useful cases but add a fresh, representative sample of the unreviewed records so the set reflects the whole workload, not just the cases that got attention.

For each record, record how its label was obtained - corrected by a reviewer, confirmed as correct, judged or never checked. Treat never checked as weak evidence as the absence of a review often means the invoice was small. A robust approach for unreviewed records is to run an judge first, flag the disagreements and low confidence cases and have humans review only these. Finally, score the new model within each group separately, then combine the results weighted by how often each group appears. A good evaluation set should be representative, challenging and updated over time. MLflow supports curating traces into an evaluation dataset and adding ground truth through labeling sessions or review queues.