/ReinforcementLearningAnIntroduction.jl

Julia code for the book Reinforcement Learning An Introduction

Primary LanguageJuliaMIT LicenseMIT

RLIntro2Cover-min.jpg

"To think is to forget a difference, to generalize, to abstract."

Jorge Luis Borges, Funes the Memorious


This project provides the Julia code to generate figures in the book Reinforcement Learning: An Introduction(2nd). One of our main goals is to help users understand the basic concepts of reinforcement learning from an engineer's perspective. Once you have grasped how different components are organized, you're ready to explore a wide variety of modern deep reinforcement learning algorithms in ReinforcementLearningZoo.jl.

How to use?

If you are new to Julia or reinforcement learning, you can preview the notebooks first. (Credit goes to Andrea PIERRÉ)

For experienced users with the latest stable Julia properly installed:

  1. Clone this project.
  2. Start the Julia REPL inside the project folder.
  3. Activate and instantiate the environment
    1. import Pkg
    2. Pkg.activate(".")
    3. Pkg.instantiate()
  4. Start Pluto.jl
    1. import Pluto
    2. Pluto.run()
  5. Now you can see the Pluto page is opened in your browser. Paste notebooks/Chapter01_Tic_Tac_Toe.jl (or any other file under the notebooks folder) into the input box and click the Open button.

Useful Links