Skip to content

Predict the Position of a Player Based on his skills and group the players based on their similarities.

Notifications You must be signed in to change notification settings

miraehab/FIFA-23-ML-Project

Repository files navigation

FIFA23 ML Project

Worked on this project during the AI training at Samsung Innovation Campus.

Kaggle Notebook --> My Notebook
Project Presentation --> Presentation

Table of Contents:

- Problem Definition
- Data Description
- Objectives
- Exploratory Data Analysis
- Data Preprocessing
- Modeling
- Deployment

Problem Definition:

Innovation Campus Club is a new professional football club, that wants to Compete Against the Top Clubs.

  • The club board knows how Data Analysis and Machine Learning can help them learn more about the Skills that need to be in their Players, the top Clubs that they need to compete in, and the Best Position of the Players Based on their skills and know the similarity of the Players in their Team so they can create a strong team and ensure that each player will play efficiently in his Position.

Data Description:

The Data Contains:

  • Every player available in FIFA 23
  • 90 attributes
  • Player best position, with the role in the club and in the national team
  • Player attributes with statistics as Attacking, Skills, Defense, Mentality, GK Skills, etc.
  • Player personal data like Nationality, Club, DateOfBirth, Wage, Salary, etc.

You Can Find the Data on Kaggle -->Here

Objectives:

1- Helping the club board know the best players in the different Clubs.

2- Helping them Understand their competitor’s Clubs.

3- Knowing the skills that need to be in their players.

4- Helping them put the players in their suitable Position.

5- Grouping the Club Players in Groups.

Exploratory Data Analysis:

Questions to be Answered :

1- Does the Age of the Player Affect on his Ball Control Performance?

2- How Height affects different factors like stamina, dribbling, pace, passing and Heading Accuracy?

3- Show if there is a relation between Wage and Overall of the Players.

4- Show the Fastest Players.

5- Determine if there is a relation between the Position of the Player, his Wage, and his Value.

6- See the Nationality of the Players that got the highest Wages.

7- Show the effect of the Age on the Potential of the Players.

8- View the Top 50 Players and their Clubs

You Can Find the EDA notebook -->Here

Data Preprocessing:

Steps :

1- Handle the missing values
2- Handle The Categorical Columns
3- Handle the Imbalanced Data
4- Feature Scaling

You Can Find the Data Preprecessing notebook -->Here

Modeling:

A. Predict the Position of the Player Using 8 Classification Algorithms --> NoteBook

B. Group the Players in Clusters Based on their Similarities Using 4 Clustering Algorithms --> NoteBook

Deployment:

Deployed the Classification Model using Flask and make HTML pages to test the predictions.

You Can Find the Deployment Files -->Here

ScreenShots:

image image image image