- The repo assumes the usage of Ubuntu (especially 20.04) because of the package dependency.
Git clone and move current directry
git clone git@github.com:YorkNishi999/cs839_rl_project_for_submission.git
cd /path/to/repo
conda env create -f gym-adserver.yml
conda activate gym-adserver
pip install gym-adserver
- Check below in all agents py files.
# outdir = './outputs/sensitivity/{agent}.txt' # for sensitivity test
outdir = './outputs/{agent}.txt' # for comparison test
- Then do the command.
python comparison_test.py
- You can see output images in
./outputs/imgs
- Check below.
outdir = './outputs/sensitivity/ucb1.txt' # for sensitivity test
# outdir = './outputs/ucb1.txt' # for comparison test
- Then do the command.
python sensitivity_ucb.py
- You can see output images in
./outputs/sensitivity/
- Check below.
outdir = './outputs/sensitivity/softmax.txt' # sensitivity test
# outdir = './outputs/softmax.txt' # comparison.py
- Then do the command.
python sensitivity_softmax.py
- You can see output images in
./outputs/sensitivity/
- Check below.
outdir = './outputs/sensitivity/egreedy.txt' # sensitivity
# outdir = './outputs/egreedy.txt' # conparison
- Then do the command.
python sensitivity_egreedy.py
- You can see output images in
./outputs/sensitivity/