This project uses supervised machine learning (linear regression) to predict NBA player salaries based on their statistics. The model compares predicted salaries with actual salaries to determine if players are overpaid or underpaid.
We collect data about NBA players using the SportsData.io API, which provides comprehensive statistics and salary information for over 340 players. This data is organized and stored in a SQLite database for efficient access.
We analyzed over 50 different statistics to identify the most relevant features for salary prediction. Using Pearson correlation coefficients, we selected 28 parameters that have the strongest relationship with player salaries.
Our model uses linear regression with gradient descent optimization. The process includes:
When you enter a player's name:
This project is built using: