/NBA-ML-Team-Win-Predictions

Machine Learning model to predict NBA team wins per season

Primary LanguagePython

NBA-ML-Team-Win-Predictions

This program uses a machine learning model to predict the amount of NBA team wins per season

To run the program, enter the season you want to start with for your training data and the amount of seasons before that in which you want to include in the data. This will be used to train the machine learning model.

After that, you enter the starting season in which you want to predict the amount of wins and then the number of seasons before that which you want to predict as well.

Data is scraped from https://www.basketball-reference.com/

Example Usage

image

Predictions

  • The model is off by an average of only 2.43 wins!

NBA ML

2021 NBA Win Projections

Team Name, Current Wins, Projected Wins (Out of 82 Games)

  • Atlanta Hawks, 8.0, 45

  • Boston Celtics, 10.0, 50

  • Brooklyn Nets, 11.0, 51

  • Chicago Bulls, 7.0, 35

  • Charlotte Hornets, 7.0, 37

  • Cleveland Cavaliers, 8.0, 30

  • Dallas Mavericks, 8.0, 40

  • Denver Nuggets, 10.0, 52

  • Detroit Pistons, 4.0, 32

  • Golden State Warriors, 9.0, 36

  • Houston Rockets, 6.0, 40

  • Indiana Pacers, 10.0, 48

  • Los Angeles Clippers, 13.0, 62

  • Los Angeles Lakers, 14.0, 66

  • Memphis Grizzlies, 7.0, 39

  • Miami Heat, 6.0, 30

  • Milwaukee Bucks, 10.0, 64

  • Minnesota Timberwolves, 4.0, 17

  • New Orleans Pelicans, 5.0, 32

  • New York Knicks, 8.0, 36

  • Oklahoma City Thunder, 7.0, 23

  • Orlando Magic, 8.0, 29

  • Philadelphia 76ers, 12.0, 49

  • Phoenix Suns, 8.0, 46

  • Portland Trail Blazers, 9.0, 39

  • Sacramento Kings, 6.0, 20

  • San Antonio Spurs, 9.0, 42

  • Toronto Raptors, 7.0, 44

  • Utah Jazz, 12.0, 59

  • Washington Wizards, 3.0, 36