Football Dataset Analysis is a group project meant to study, analyse and extract information from the kaggle football dataset.
Kaggle, according to Wikipedia "is an online community of data scientists and machine learners, owned by Google, Inc that allows users to find and publish data sets, explore and build models in a web-based data-science environment, work with other data scientists and machine learning engineers, and enter competitions to solve data science challenges."
The project is aimed at studying the kaggle football dataset, to analyse, extract information from it and make predictions based on the data.
The main goal is to find the weaknesses and strengths of the team and assess the ways of measurement and improvement of the team performance.
We got the most effective events and capitalised on their characteristics in order to achieve the set goal.
Examples of events used to determine the extent of the teams' weaknesses:
- Yellow and red cards served
- Fouls against the team
- Shoots off target
- Penalty against the team
- Offsides
- Shot place
- Too high
- High and wide
- Goals against the team
Examples of events used to determine the extent of the teams' strengths:
- Goals scored
- Penalty
- Cornes
- Shoots on target
- Shoots in bar
- Shot_place
- Location
- Penalty spot
- Very close range
- Difficult angle and long range
- Difficult angle on the left
- Difficult angle on the right
Below are the tasks we have accomplised:
- Determined the probability of the team winning in a league
- Determined the best combination of players and strategies to increase the probability of winning
- Determined the players that make a great team based on features like attempts, strikes, assists, goals scored and so on
- Predicted the highly paid player based on performance in the teams and league at large.
- Predicted cards both yellow and red served to a team
- Determined the effect of cards on the team's performance
- Found the relationship between receiving cards in the first half and performance in the second half.
- Determined the teams that are likely to attack from a given flank
- Determined the correlation between strategies, ball possession and probabilility of winning.
- Determined the qualitites that make a player crucial to the team's success
- Fork the project to your respository
- Clone the project repository and run the project, refer to the "How to setup section" to know how to do that.
- Study the project code, suggest changes, rectificiations and any inquiries you might have about the project
- To suggest these changes, you can either
- Open an issue on the project where you highlight what you think needs to be changed and how you would like it to be after the change
- Make the necessary changes you might want to see in the project, then push your your new changes to abranch on your repository. Thereafter, request for your changes to be reviewed by opening a pull request on the main repository. You can review the GitHub artice and other resources to learn to make a pull request.
Tools and librariesused for development;
- Editor: Jupyter Notebook
- Programming language: Python 3
- Libraries:
- numpy
- zipfile
- warning
- matplotlib
- pandas
- seaborn
- sklearn
- venn
- pytorch
- Assuming you have python3 and all the dependencies installed.
- Create a directory and change to that directory
> mkdir Data analysis
> cd Data analysis
- Clone this repository.
> git clone https://github.com/knaggita/Football-Dataset-Analysis
- Run Jupyter notebook from commandline
> jupyter notebook
- Run the application.
> Open the application and run