Finished and evaluated
What makes a footballer expensive?
A random forest cut test error by about 60%, from €8.19M to €3.29M.
I wanted to see whether football transfer values could be estimated with data I could actually explain. The study uses performance, appearance, transfer, and player data across seven leagues.
- Data
- Transfermarkt, through the dcaribou/transfermarkt-datasets project
- Leagues
- England, Spain, Italy, Germany, France, Portugal, and the Netherlands
- Train and test
- Trained on 2016/17 to 2022/23, tested on 2023/24 to 2025/26
- Built with
- Python, pandas, scikit-learn
Test error by model version
Mean absolute error in € millions on 2023/24 to 2025/26 players. Lower is better. Select a version to see what changed.
Show the numbers
| Version | What changed | Own test rows | Same 8,255 rows |
|---|---|---|---|
| V1 | Linear regression on the raw value | €8.16M | €8.19M |
| V2 | Log-transformed target | €7.53M | €7.58M |
| V3 | Added last season’s market value | €3.72M | €3.72M |
| V4 | Random forest on the V3 features | €3.29M | €3.29M |
- It overestimates the most expensive players, and can extrapolate badly for superstar values.
- Valuation timing is approximate, and I haven’t fully ruled out temporal leakage.
- Contracts, wages, reputation, injuries, and club context aren’t in the data.
- One time-based split, so it isn’t a general benchmark.
