Skip to content

Code for the figures in Chapter 13 of "Reinforcement Learning: An Introduction" by Sutton and Barto

Notifications You must be signed in to change notification settings

gravesec/chapter_13_figures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation instructions:

  1. Install Python 3.7.0 if necessary.
  2. Create a new Python virtual environment named 've' in the 'chapter_13_examples' directory:
    $ python3 -m venv ve
  3. Activate the virtual environment:
    $ source ve/bin/activate
  4. Upgrade pip:
    (ve)$ pip install --upgrade pip
  5. Install required packages:
    (ve)$ pip install -r requirements.txt

Instructions for running scripts:

  1. Activate the virtual environment:
    $ source ve/bin/activate
  2. Run the desired scripts:
    (ve)$ python example_13_1.py
    (ve)$ python figure_13_1.py --confidence_intervals
    (ve)$ python figure_13_2.py --confidence_intervals
  3. Deactivate the virtual environment when finished:
    (ve)$ deactivate

About

Code for the figures in Chapter 13 of "Reinforcement Learning: An Introduction" by Sutton and Barto

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages