Machine learning with football · Chapter 7 · Datasets and overfitting

Labels

The label is what the model learns to predict. Sometimes the one you want is not in the data at all.

Estimated time: 10 minutes · page 3 of 12

Direct and proxy labels

A direct label is exactly what you want to predict, sitting in a column. A home win is a direct label, since the result is in the data. Now say you want to predict which side deserved to win. No column says that, so you reach for a proxy label, something close to it. The side with more xG is the obvious candidate.

A proxy is only as good as its link to the real target. The board shows how often the side with more xG actually won, in matches that had a winner. In Premier League it's 69%. That's a strong link, but a model trained on xG winners learns about chances, not results.

People or machines

Labels from people can capture things models can't, and writing the rating rules forces you to say exactly what you mean. But people cost money and make mistakes. Before trusting human labels, label a sample yourself and compare, and tighten the instructions where raters drift apart. Mixing human and machine labels is possible. Extra human labels are only worth the bother if they add something the machine labels lack.

Check yourself

You want to predict which team deserved to win. The data has the result and each side's xG. What is "the side with more xG"?
A club wants a model of which supporters will buy a season ticket. The data has "bought a match ticket this season". Good or poor proxy?

Leagues