šŸ† I built a live by Tariq ElnaggaršŸ† I built a live by Tariq Elnaggar

šŸ† I built a live

Tariq Elnaggar

Tariq Elnaggar

šŸ† I built a live AI-powered match predictor for the 2026 FIFA World Cup — and it updates itself every hour, automatically. 48 teams. 104 matches. The biggest sporting event on the planet. So I asked myself: can machine learning predict what no one can? šŸ¤– š—§š—›š—˜ š— š—¢š——š—˜š—Ÿ Not just another ELO-based predictor. This one combines: ⚔ Live ELO ratings — recalculated after every WC match šŸ“ˆ Recent form — last 5 & 10 official matches āš”ļø Head-to-head history — including World Cup-only records šŸ‘„ Squad strength — EA FC 26 player ratings šŸ’° Market value — Transfermarkt squad valuations šŸŽÆ Penalty shootout win rate — the "clutch factor" most models ignore šŸ”„ Knockout pressure — encoded as a binary feature āš ļø Upset detection — flags weaker teams in better form Dual-model ensemble: XGBoost + Poisson Regression 22 engineered features across 9 categories Trained on 49,477 international matches (1872–2026) šŸ”§ š—§š—›š—˜ š—„š—˜š—”š—Ÿ š—˜š—”š—šš—œš—”š—˜š—˜š—„š—œš—”š—š š—–š—›š—”š—Ÿš—Ÿš—˜š—”š—šš—˜ Building the model wasn't the hard part — keeping it LIVE was. Results change daily, teams get eliminated mid-tournament, and shootouts aren't always recorded immediately. The solution: an update engine that runs every hour — fetching results, detecting eliminated teams, recalculating ELO, and handling shootouts with smart fallback logic. Fully automated. šŸ“Š š—§š—›š—˜ š—•š—œš—šš—šš—˜š—¦š—§ š—§š—›š—œš—”š—š š—œ š—Ÿš—˜š—”š—„š—”š—˜š—— Early versions suffered from "ELO Dominance" — assuming the stronger team almost always wins. Statistically wrong. The fix: convert raw ELO difference into a calibrated win probability using the standard logistic formula. Now a +300 ELO advantage means ~88% win probability, not 100%. Because football is unpredictable. That's what makes it beautiful. šŸ–„ļø š—§š—›š—˜ š——š—”š—¦š—›š—•š—¢š—”š—„š—— A 6-page Streamlit app featuring: šŸ”® Match prediction — Win/Draw/Loss probabilities šŸ”µ Group stage simulation — Monte Carlo standings šŸ† Championship probability per team šŸ“„ Downloadable PDF report šŸŒ™ Dark/Light mode šŸ‡øšŸ‡¦ Arabic / šŸ‡¬šŸ‡§ English support šŸŽ¬ Full walkthrough in the video below šŸ‘‡ šŸ”“ Live App → https://lnkd.in/e8BuSUh7 šŸ™ GitHub → https://lnkd.in/ej8w_cUq āš ļø Built for educational & portfolio purposes. Predictions are probabilistic — not guarantees šŸ˜„ What feature would YOU add to improve upset prediction? Drop it below šŸ‘‡ #MachineLearning #DataScience #Streamlit #SportsAnalytics #FIFA2026
Like this project

Posted Jul 13, 2026

šŸ† I built a live AI-powered match predictor for the 2026 FIFA World Cup — and it updates itself every hour, automatically. 48 teams. 104 matches. The bigge...