Skip to content

Reinforcement Learning in the browser with Mountain Car simulation

Notifications You must be signed in to change notification settings

prouhard/tfjs-mountaincar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorFlow.js Example: Reinforcement Learning with Mountain Car Simulation

Overview

This is a modification of this tensorflow.js subrepository, by @Caisq, to tackle the OpenAI's gym MountainCar problem: https://github.com/openai/gym/blob/master/gym/envs/classic_control/mountain_car.py

For a more graphical illustration of the problem, see: http://gym.openai.com/envs/MountainCar-v0/

Features:

  • Allows user to specify the architecture of the policy network, in particular, the number of the neural networks's layers and their sizes (# of units).
  • Allows training of the policy network in the browser, optionally with simultaneous visualization of the cart-pole system.
  • Allows testing in the browser, with visualization.
  • Allows saving the policy network to the browser's IndexedDB. The saved policy network can later be loaded back for testing and/or further training.

Usage

yarn && yarn watch

About

Reinforcement Learning in the browser with Mountain Car simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •