MrityunjayBhardwaj / Reinforcement-Learning-in-JS

Implementing Several Algorithms from RL-Book ( Sutton & Butao)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status GitHub

(WIP) Reinforcement-Learning in JS πŸ€–

Hello everyone! πŸ‘‹ πŸ€—, so basically, the goal of this repo is to act as a learning companion as you go through the standard RL text: Reinforcement Learning: An Introduction (2nd Edition)

All code is written in Javascript and uses environments from an OpenAI gym like library written just for this Repo.(see, πŸ“‚ Environments ) for function approximators we used tensorflow.js

πŸ—’: Note that this project is meant to be used for learning and researching purposes only and it is not meant to be used for production.

List of Algorithms:

  • Policy Iteration
  • Sarsa (On-policy)
  • Q-Learning (Off-policy)
  • Monte-Carlo

Setup:

Install all dependencies

npm install

Build the project

npm run build

Run all the tests

npm test

About

Implementing Several Algorithms from RL-Book ( Sutton & Butao)

License:MIT License


Languages

Language:JavaScript 97.7%Language:HTML 2.3%