Skip to content

shrishtiroy/NBA-Fatigue-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

NBA Fatigue Plus-Minus Predictor

This project explores how player fatigue impacts NBA performance, specifically plus-minus, using historical game data and machine learning techniques. The goal is to evaluate whether workload and recovery related factors can help predict changes in on-court impact.

Project Overview

NBA players experience varying levels of fatigue due to travel, minutes played, and game scheduling. This project analyzes these factors to determine their relationship with player plus-minus, a commonly used performance metric.

Using PySpark and regression models, the notebook builds a pipeline that:

  • Cleans and preprocesses NBA game data
  • Engineers fatigue-related features
  • Trains regression models to predict plus-minus
  • Evaluates model performance

The emphasis is on understanding trends and seeing which features have the most impact in detecting fatigue.

Technologies Used

  • Python
  • PySpark
  • Pandas
  • NumPy
  • Google Colab

Features and Methods

  • Feature engineering focused on fatigue indicators such as workload and recovery windows
  • Regression-based modeling for plus-minus prediction
  • Model evaluation using standard regression metrics
  • Exploratory analysis of fatigue effects on performance

File Structure

  • NBA_Fatigue_Predictor.ipynb
    Main notebook containing data processing, modeling, and evaluation

How to Run

  1. Open the notebook in Google Colab or a local Jupyter environment with PySpark installed and run.

Future Improvements

  • Incorporate additional contextual features such as opponent strength
  • Try classification models instead of regression
  • Expand evaluation across multiple seasons

About

This project quantifies the fatigue of a player in the NBA, factoring features like how many fouls they had in the previous game, how many minutes they played, how far they traveled for an away game, etc. Then it predicts the plus minus of a player which is the point differential of their team while they are playing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors