Skip to content
Robert Sim edited this page Feb 6, 2020 · 7 revisions

TRC Data Science Setup

  1. Install VS Code
  2. Install Anaconda or similar python environment
  3. [optional] Install VS Code python extension
  4. git clone https://github.com/simra/FRCModeling.git
  5. Visit https://thebluealliance.com/account and create a Read API key, paste it into generate_training_data.py
  6. Install packages using 'conda install ' or 'pip install '
    • urllib3
    • pandas
    • scikit-learn
    • jupyter
  7. 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
  8. run 'python partition_by_event.py' to split the training data into independent events - auburn, glacier peak, and the districts.
  9. run 'jupyter notebook' to launch the notebook interface.
Clone this wiki locally