Skip to content

Machine learning regressor predicting NCAA prospects' draft pick in the NBA draft.

Notifications You must be signed in to change notification settings

zacharymeurer/NBA_Draft_Predictor

Repository files navigation

NBA Draft Predictor

Overview:

This project utilizes an NBA prospect’s college basketball stats to predict what pick the player will be drafted.

Data Sources:

Methods:

Data Preparation:

  • Scraped RPI ratings for teams and conferences.
  • Merged ratings data with NCAA data after making join key consistent between datasets (i.e. reformatting conference and team names to match in each dataset).
  • Cleaned Data (e.g. Drop Null values, verified data consistency, changed data types, etc.).
  • Grouped the records of CollegeBasketballPlayers2009-2021.csv on player by taking a weighted average of each attribute dependent on a players’ minutes played.
  • Normalized Data.

Machine Learning:

  • Trained a random forest regressor on a prospect's college basketball stats to predict draft pick.
  • Tuned the hyperparameters through Bayesian optimization before visualizing the model and its performance.
  • Measured and Plotted model accuracy.

Considerations:

Ideas to implement in the future to improve accuracy:

  • Adding additional auxiliary data from the nba draft combine (e.g. draft combine data like vertical leap, wingspan, etc.).
  • Weighting the weighted average on multiple variables (e.g. minutes played, conference strength, and team strength).
  • Trying a different machine learning model (e.g. neural network regressor).
  • Test model on CollegeBasketballPlayers2022.csv and rank regression scores in order. Measure how close model's prediction of the draft is to the true outcome.

About

Machine learning regressor predicting NCAA prospects' draft pick in the NBA draft.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published