This project leverages the FIFA players dataset to build two powerful tools:
- Salary Prediction Model: Predicts a player's salary based on their attributes.
- Player Recommender System: Recommends similar players using feature-based similarity.
This repository contains a machine learning pipeline that:
- Preprocesses the FIFA players dataset.
- Trains regression models to predict player salaries.
- Implements a similarity-based recommendation engine using player features.
The goal is to provide insights into player valuation and help in scouting or strategic team-building decisions.
-
📊 Salary Prediction
Predict a player's salary using features such as age, overall rating, potential, etc. -
🤝 Player Recommender System
Suggests similar players based on numerical player attributes using similarity metrics.
git clone https://github.com/luisfucros/fifa-players.git
cd fifa-playersmake local-deploy
make local-appThis will:
-
Spin up all necessary services: PostgreSQL, MongoDB, Redis, Adminer, MLflow.
-
Run the data ingestion pipeline.
-
Launch the ML training job.
-
Start the FastAPI-based ML application.
-
MLflow Tracking UI: http://localhost:5000
-
FastAPI Docs: http://localhost:8000/docs
-
Adminer (DB Admin UI): http://localhost:8080
You can also run specific services manually:
make local-storage # Start databases (Postgres, MongoDB, Redis, Adminer)
make local-data-ingestion # Run data ingestion job
make local-mlflow-server # Start MLflow tracking server
make local-training # Run the training job
make local-app -
Add a frontend for easier interaction.
-
Include position-based or user/role-aware recommendations.
-
Expand to predict player growth potential.