Skip to content

A predictive model, that given the stats for a 5 player roster, it will predict the x/82 win total for that teams season.

Notifications You must be signed in to change notification settings

ReedM1025/482-nba

Repository files navigation

482-nba

A predictive model, that given the stats for a 5 player roster, it will predict the x/82 win total for that teams season.

How to run our program

1 -- Collect Data

Before the model can be trained the data needs to be retrived. To create the data.csv file, run the data_retrieval.py file, within the code you can change which years and how many players per team, for which the data is collected.

2 -- Train the model

To train the model with the pre-collected data from step 2, simply run the model.py file

3 -- Start the program

To start the main program run the main.py file

4 -- Select/Load a Roster

Within the terminal for the main program, you can either enter player names within the program to create a custom roster, or provide a .txt filename for a file that has the desired players listed on seperate lines. (See Provided .txt example files)

5 -- Predict

Select the menu option to predict the win total for the provided team

6 - Compare

Select the menu option, and follow the steps presented within the terminal to load and compare two rosters

About

A predictive model, that given the stats for a 5 player roster, it will predict the x/82 win total for that teams season.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages