Why does a fruit classifier call a Granny Smith a pear?
Your fruit classifier gets most Gala apples right. Then you show it a Granny Smith, and it calls it a pear. One mistake could be a fluke. What would you find if you tested a whole batch of each variety?
You can label fruit photos yourself: apple or pear. These training photos show Gala apples and pears, with no Granny Smith apples. When it's hard to write rules for every fruit photo, you can train a classifier to learn patterns from labelled examples. It then predicts a label for a new photo.
On new test photos, eighteen of twenty Gala apples are labelled apple and two are labelled pear. That's ninety per cent correct. For Granny Smith, six are labelled apple and fourteen are labelled pear. That's thirty per cent correct. The model makes more errors on the variety missing from training.
You want to find out whether adding Granny Smith photos to training improves accuracy on that variety. Pick the plan that lets you compare the original and updated models fairly.
In nineteen fifty-two, Audrey recognised spoken digits. By nineteen ninety-seven, you could dictate continuously on a personal computer. Today, more recognition can happen on your phone. As with fruit, gaps in training may lead to more errors. To compare accuracy by accent, ask speakers to read the same phrases under similar conditions.
Count a phrase as correct only if every word is right. Divide the number correct by the number tested and convert to a percentage. Group A gets ninety-five per cent. Group B gets forty-five per cent. Add the correct counts and the test totals before dividing. That gives ninety per cent overall.
In a new test, the system gets seventy-two of eighty phrases right for Group A and twelve of twenty right for Group B. Work out the percentage for each group, then pick the pair that shows the gap.
The first speech test gives ninety per cent overall. You can't assume every group scored ninety per cent. Group A supplied nine hundred of the thousand phrases, so it carries more weight. Compare ninety-five per cent with forty-five per cent: that's fifty percentage points. The gap alone doesn't tell you its cause.
An exam might ask you to evaluate a voice-only train enquiry service. Use the results by accent: ninety-five per cent for Group A and forty-five per cent for Group B. Explain the impact: Group B may struggle to get train times. Recommend keeping another way to check trains.