Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

RL lectures: AI-written example codes

AI-written example code complementing the lecture notes "Reinforcement Learning for Economists", available at https://benjaminmoll.com/lectures/.

Contents

  • sarsa_rbc.ipynb — solves the standard real business cycle (stochastic neoclassical growth) model with the Sarsa algorithm from Lecture 3, and compares the solution to Howard policy iteration (Lecture 1). The Sarsa loop is compiled with Numba (~10 million updates per second on one core).

Requirements

Python with numpy, scipy, matplotlib, numba (all included in Anaconda; also runs on Google Colab).

About

AI-written example codes for the lecture notes 'Reinforcement Learning for Economists' (benjaminmoll.com/lectures)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages