Git Product home page Git Product logo

laligaprediction's Introduction

La Liga games predictions

Malis Project

Introduction :

The project aim is to have an accuracy as good as possible on predicting football matches results. Our choice of the Spanish league is based on the recent regulations that made the teams more balanced because of the limited budget they can spend. The input to our algorithms is a collection of features like the Team, the opponent Team, average scores of the teams (goals, shots, blocks, FIFA players’ scores, etc.) and the ”home/away” feature. We then used different models; KNN, Random Forest, SVM and Logistic Regression, to output the predicted result (0:Loss - 1:Win - 2:Draw). Then, we did feature selection on the mentioned models (RFE - Lasso regularization) to minimize the number of features and achieve better accuracy.

Notebooks :

The final Notebook is Final.ipynb. The dataset used to test is "finalData20-21.csv" processed in the final notebook. Final_2Data.ipynb is a similar file to the Final one but using two datasets : season 20-21 and season 21-22. The results are not good enough while using both datasets. Some modifications must be done.

Acknowledgements :

The code used to scrap the matches' reports Webscrapping.ipynb is inspired by the code of Kempa, M. on his project : Machine Learning Algorithms for Football Predictions. The fifa20-21.csv is extracted from this repository : https://github.com/othmbela/fifa-21-web-scraping .

laligaprediction's People

Contributors

nourjamoussi avatar maklepa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.