- Download the executable PAT340 from PAT-Process Analysis Toolkit
- Unzip and paste the PAT340 folder in project root folder
- Generate the pcsp files of the match datasets
- In project root directory run
python3 ./scripts/load_all.py
- You should see that pcsp_files are being generated in
./pcsp_files
- In project root directory run
- For bash users, in bash terminal in root directory run
chmod +x get_probability.sh
. Then./get_probability
- You should observe the same as (iii)
- Three scripts will run concurrently to generate 15to17, 17to19, 19to21 PAT probability range.
In bash terminal in root directory, run chmod for these 6 scripts
chmod +x ./get_probability_15to16.sh
chmod +x ./get_probability_16to17.sh
chmod +x ./get_probability_17to18.sh
chmod +x ./get_probability_18to19.sh
chmod +x ./get_probability_19to20.sh
chmod +x ./get_probability_20to21.sh
Then, run ./get_probability_concurrent.sh
NOTE: It is okay to see not found errors, since indexes are ball parked (Set to way before the actual to prevent missing info)
-
Run
python3 .\scripts\generate_new_probabilities.py
script to generate new_probabilities (refer to betting_simulation) -
Run betting simulation script
cd .\betting_simulation\
python3 .\simulate.py