Skip to content

Analyzing defender impact at the first ever NBA Hackathon.

Notifications You must be signed in to change notification settings

chardigio/nba-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nba-hackathon

An analysis of defender impact on a player's effectiveness throughout the course of a game.

Pranav BadamiCharlie DiGiovannaSean Viswanathan

Using Pandas on a Python Flask server, we were able to parse SportVU and Play-by-Play data to analyze how a player's efficiency fluctuates based on his defender throughout the course of a game. With D3, we illustrated the defender by minute using colored bands in order to visualize his impact on the player's efficiency. See a snippet of the app in action below:

gifs website

To identify a player's defender, we analyzed raw SportVU data which gives us court positions for all players and the ball at 25 FPS resolution. We calculate player distances for defenders relative to the offensive player for every frame, and group by seconds and then minutes. On aggregated group level data, we appoint the most frequent closest defender as the offensive player's primary defender; this allows our D3 frontend to render colored bands based on defender for stretches in the game.

About

Analyzing defender impact at the first ever NBA Hackathon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •