This repository is still very much a work in progress, more updates to come soon.
Steps to build the database:
- Install requirements if needed
- Run only the first time:
python3 build_database.py python3 write_sql_data_to_pt.py- files will save in saved_data/(train,val, test).ptpython3 train_model.py- model will save in saved_data/(train,val, test).ptpython3 predict.py
To run daily predictions:
python3 update_database.py- to store recent games not yet in the databasepython3 predict.py
Model retraining can be done with:
python3 update_database.pypython3 write_sql_data_to_pt.pypython3 train_model.py