Comparison tool to view players from 2000 to 2024 and find similar players based on advanced statistical data.
- Search for players by name and year.
- Display player statistics including points, assists, rebounds, steals, blocks, team, and position.
- Find and display the top 5 most similar players based on advanced statistical data.
- Show player headshots if available.
- Ensure you have JDK 11 or higher installed.
- Download and run the jar release file.
- Select a year from the dropdown menu.
- Enter a player name in the search field.
- Click search to display matching players names from that year.
- Select a player from the list to view their stats and similar players.
-
Similar players are calculated by first constructing a high dimensional vector representation of the selected player using advanced stats as components.
-
Then we calculate the cosine distance of that player against all others in a stored database. The top 5 smallest difference in players are stored and diplayed.
-
the stats used for comparisons are {avgPoints, avgMinutesPlayed, avgMadeFieldGoals, avgAttemptedFieldGoals, avgMadeThreePointFieldGoals, avgAttemptedThreePointFieldGoals, avgMadeFreeThrows, avgAttemptedFreeThrows, avgOffensiveRebounds, avgDefensiveRebounds, avgAssists, avgSteals, avgBlocks, avgTurnovers, avgPersonalFouls, trueShootingPercentage, threePointAttemptRate, freeThrowAttemptRate, offensiveReboundPercentage, defensiveReboundPercentage, totalReboundPercentage, assistPercentage, stealPercentage, blockPercentage, turnoverPercentage, usagePercentage, offensiveBoxPlusMinus, defensiveBoxPlusMinus, boxPlusMinus, valueOverReplacementPlayer, playerEfficiencyRating, winSharesPer48Minutes, offensiveWinShares, defensiveWinShares, winShares}
All images and data used for this project can be found in src/main/resources/com/hoopwatcher. Feel free to use them for whatever you like!