Skip to content

Jnjy/CS4211-G09

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS4211-G09

Prerequisites

PAT 3.4.0

  1. Download the executable PAT340 from PAT-Process Analysis Toolkit
  2. Unzip and paste the PAT340 folder in project root folder

Steps

  1. Generate the pcsp files of the match datasets
    1. In project root directory run python3 ./scripts/load_all.py
    2. You should see that pcsp_files are being generated in ./pcsp_files

Sequential Generation (Slow...)

  1. For bash users, in bash terminal in root directory run chmod +x get_probability.sh. Then ./get_probability
    1. You should observe the same as (iii)

Concurrent generation (Recommended!)

  • 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)

  1. Run python3 .\scripts\generate_new_probabilities.py script to generate new_probabilities (refer to betting_simulation)

  2. Run betting simulation script

cd .\betting_simulation\
python3 .\simulate.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •