-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
Robert Sim edited this page Feb 6, 2020
·
7 revisions
- Install VS Code
- Install Anaconda or similar python environment
- [optional] Install VS Code python extension
- git clone https://github.com/simra/FRCModeling.git
- Visit https://thebluealliance.com/account and create a Read API key, paste it into generate_training_data.py
- Install packages using 'conda install ' or 'pip install '
- urllib3
- pandas
- scikit-learn
- jupyter
- run 'python generate_training_data.py > train.txt' to download the match data. Match data will be saved in matches.pkl, the labels are saved in train.txt
- run 'python partition_by_event.py' to split the training data into independent events - auburn, glacier peak, and the districts.
- run 'jupyter notebook' to launch the notebook interface.