Skip to content

co-gy/rl-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RL Learn

I'm implementing algorithms from this book (Mathematical Foundation of Reinforcement Learning). I used the GridWorld environment code provided by the author and made a few changes.

result

Menu

  • Chapter 4
    • Value Iteration
    • Policy Iteration
    • Truncated Policy Iteration
  • Chapter 5
    • MC Basic
    • MC Exploring Starts
    • MC $\epsilon$-greedy
  • Chapter 6
    • RM Algorithm example
  • Chapter 7
    • Sarsa
    • Q-learning (on-policy version)
    • Q-learning (off-policy version)

Run

It is easy to run the code by following the steps.

  1. activate your venv
conda activate base
# or
python -m venv venv
. venv/bin/activate
  1. install packages
pip install -r requirements.txt
  1. clone this repo
git clone [email protected]:co-gy/rl-learn.git
  1. run

make sure your running directory is rl-learn

cd rl-learn
python algorithm/value_iteration.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages