Compare two releases on matched examples
Check units and version numbers as you type. · 192 words
A release comparison should use matched examples: the exact same inputs, correct-answer labels, preprocessing that turns text into model features, and decision threshold for both releases. A decision threshold is the score needed to output a label. This paired test prevents easier or newer test data from explaining a difference. Consider six product reviews with labels: "Great, I love it" (positive), "It broke on day one" (negative), "The size fits perfectly" (positive), "I hate this product" (negative), "Works as described" (positive), and "My order arrived on time" (positive).
Release A predicts positive, negative, negative, positive, negative, positive, so it gets 3 of 6 correct, or 50 percent. Release B predicts positive, negative, positive, negative, positive, positive, so it gets 6 of 6 correct, or 100 percent. Paired inspection shows that B corrects the third, fourth, and fifth reviews. The first, second, and sixth answers match across releases. In a real test, use a larger fixed set and report B-only wins, A-only wins, and shared errors, because accuracy alone can hide different failure patterns. Keep the test set sealed and do not tune on it if the goal is an unbiased release decision.
Check your recall
On the six matched reviews, how many examples are correct in releases A and B, and which review positions change?
Check your answer
Release A gets 3 of 6 correct, while release B gets 6 of 6 correct. Positions 3, 4 and 5 change from A's incorrect answers to B's correct answers.
Sources and credits
Original KeyTouch lesson. Background reading · Google · Rules of Machine Learning.