Overfitting
Also called: overfitting, curve fitting, data mining bias, multiple comparisons, p-hacking.
How it is read
The mechanism is a maximum. Test forty rules against data containing no signal at all. The best of the forty will still look impressive. A maximum over many draws is biased upward by construction. So the number that matters alongside any reported result is how many variations were examined before it. A result corrected for that search is worth far more than a larger number that was not. Trying thresholds by eye is the same search. It just keeps no record of how many were tried.
What it does not tell you
Overfitting is a property of the PROCESS, not of the rule. So it cannot be detected by looking at the rule. It cannot be detected by looking at how sensible its reasoning sounds either. The only reliable check is data that took no part in choosing it. Correcting for a search is also not a rescue. It makes a result honest. It does not make a weak one strong.
Related concepts
Search Enough Rules and One Will Fit by Chance
If you test forty rules against data with no signal in it at all, the best of the forty will still look good. Not because it works, but because you looked forty times. The number that gets reported is the maximum of a search, and a maximum is biased upward by its very nature. This is the single most common reason a rule that tested well stops working the moment it meets new data.
Open the lesson