Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 733 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 733 Bytes

RPS RL with TFJS

Blog post

https://medium.com/@truble678/a-beginners-guide-to-reinforcement-learning-using-rock-paper-scissors-and-tensorflow-js-37d42b6197b5#2407-f3a39557268d

Project description

This code contains a very basic introduction to Reinforcement learning using TFJS. The goal is for this to be interactive:

  • where the player will choose rock, paper or scizzors.
  • then the agent will choose what it thinks is the best action
  • then the player will tell the agent if it did bady or poorly
  • the agent will then update its ideas on which actions are good and bad

The choice of actions are visualied using plotly.js and we can see them change over time.

How to run

open index.html in a browser