Tariq Elnaggar's Work | ContraWork by Tariq Elnaggar
Tariq Elnaggar

Tariq Elnaggar

Data Analysis & Data Scientist.

New to Contra

Tariq is building their profile!

šŸ† 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 (https://lnkd.in/e8BuSUh7)šŸ™ GitHub → https://lnkd.in/ej8w_cUq (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 (https://www.linkedin.com/search/results/all/?keywords=%23machinelearning&origin=HASH_TAG_FROM_FEED) #DataScience (https://www.linkedin.com/search/results/all/?keywords=%23datascience&origin=HASH_TAG_FROM_FEED) #Streamlit (https://www.linkedin.com/search/results/all/?keywords=%23streamlit&origin=HASH_TAG_FROM_FEED) #SportsAnalytics (https://www.linkedin.com/search/results/all/?keywords=%23sportsanalytics&origin=HASH_TAG_FROM_FEED) #FIFA2026 (https://www.linkedin.com/search/results/all/?keywords=%23fifa2026&origin=HASH_TAG_FROM_FEED)
1
100
Cover image for قصة الثلاثة Ų§Ł„Ų°ŁŠŁ† حبستهم ŲµŲ®Ų±Ų©! ŁˆŁ‡Ł„ Ł†Ų¬ŁˆŲ§ من Ų§Ł„Ł…ŁˆŲŖŲŸ (حديث Ł†ŲØŁˆŁŠ صحيح)
قصة الثلاثة Ų§Ł„Ų°ŁŠŁ† حبستهم ŲµŲ®Ų±Ų©! ŁˆŁ‡Ł„ Ł†Ų¬ŁˆŲ§ من Ų§Ł„Ł…ŁˆŲŖŲŸ (حديث Ł†ŲØŁˆŁŠ صحيح)
0
0