mhaythornthwaite/Football_Prediction_Project

This project pulls past game data from api-football, and uses this to predict the outcome of future premier league matches with the use of classical machine learning techniques.

62
/ 100
Established

Constructs rolling 10-game performance metrics across 14 engineered features (goal difference, shot accuracy, possession, etc.) to capture relative team form, then trains scikit-learn classifiers (Random Forest, KNN, SVM) optimized via grid search and 5-fold cross-validation. The pipeline automatically refreshes from api-football's daily API calls, enabling continuous model retraining on recent fixtures while maintaining a nested dictionary structure organized by team and match ID for scalable data management.

285 stars.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 23 / 25

How are scores calculated?

Stars

285

Forks

87

Language

Python

License

MIT

Last pushed

Mar 25, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/mhaythornthwaite/Football_Prediction_Project"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.