Hook
More breakout videos from this creator.
Let's use machine learning to predict the winners of the World Cup matches. So far, we've gotten right all of our round of 32 predictions, and this is going to be a really intense weekend. So let's predict the winners of Canada versus Morocco, Paraguay versus France, Brazil versus Norway, and Mexico versus England. To get the data for my model, I'm pulling it in primarily from the Football-Data API, and I'm filling in the gaps with the Football Data API. The type of model I built is an XGBoost model, which is basically a bunch of stacked decision trees, which help determine whether it'll be a win or a loss for this model. On 20 features across multiple tournaments, including La Liga, Copa America 2021, and many more. You guys have been asking for the code, so I put all of it on Axon. You can download the app on the App Store, and if you're on Android or desktop, go to axonlearn.app. For the Canada Morocco game, it's a really close one. The model is only 59% confident that Morocco will win with an expected score of 1-0. For the France Paraguay game, the model is super confident that France will win with a 77% probability and expected score of 2-0. For the Brazil Norway game, it's really close with Brazil just leading at 53% and the expected score is 1-1 of regular time and Brazil winning in either extra time or penalties. For one of the biggest games of the weekend, we have England versus Mexico, and England's just pushing ahead at 55% expected score of 1-1 at the end of regular time and they're in either extra time or penalties. Let me know what other games I want me to predict and follow.