
Early this morning, Argentina, a championship favorite, finally won, and Messi also scored his first goal of this World Cup! Did you stay up watching this match?
The editor also used Python to predict this World Cup's champion, but the result wasn't Argentina, let's take a look~
Prediction Results
According to Python's calculations, the team most likely to win the championship is Brazil, followed by Belgium, with Argentina in third place.
The championship favorites France, England, and Spain actually didn't have any enter the top 3 of prediction results.

Prediction Code & Dataset
Students who need the code and dataset, just comment 666~
The code used for this prediction comes from
The Alan Turing Institute(UK National Data Science and AI Institute).The model's data comes from
martj42, international men's football match results.The method to run the code is
portey.
After getting the code, run it directly in Python and you can see the results. If you know how to use portey it will be more convenient, after entering the code directory, run the following command:
1 | poetry shell |
More Python Practical Projects
Portal 👉100 Python Practical Projects
Related Reading
Programmer Wan Feng focuses on AI programming training, 小白看完他和图灵社区合作的教程《30讲 · AI编程训练营》就能上手做AI项目。