Every year, in my courses, I ask the same question: why do we use 80% of the data to build a model and 20% to test it? Nobody knows. So I tell them: it comes from the Pareto principle, the famous 80/20 rule.
I love the Pareto principle, it is one of my favourite quotes. I once read that it even applies to cleaning the house: 20% of the effort gives you 80% of a clean home. But when it comes to testing a model, the percentage is only half of the story.
What I try to teach instead is to look at how many patients end up in the test group, not at the percentage.

Imagine a model that is right 80% of the time in predicting which patients with memory problems will develop Alzheimer’s disease. If we test it on only 20 patients, chance alone can make it look like a 60% model or a 95% model. With 200 patients, the score stays close to the truth.
The pill: when someone tells you “our model is 90% accurate”, ask one simple question: tested on how many patients?


Leave a Reply