All Projects → bobiblazeski → js-gym

bobiblazeski / js-gym

Licence: MIT license
Reinforcement learning in JavaScript & Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to js-gym

enjoytheshow
Real-time facial expression gathering
Stars: ✭ 32 (-36%)
Mutual labels:  tensorflowjs, tensorflow-js
tictactoe-ai-tfjs
Train your own TensorFlow.js Tic Tac Toe
Stars: ✭ 45 (-10%)
Mutual labels:  tensorflowjs, tensorflow-js
Nsfwjs
NSFW detection on the client-side via TensorFlow.js
Stars: ✭ 5,223 (+10346%)
Mutual labels:  tensorflowjs, tensorflow-js
handwritten-digit-recognition-tensorflowjs
In-Browser Digit recognition with Tensorflow.js and React using Mnist dataset
Stars: ✭ 40 (-20%)
Mutual labels:  tensorflowjs
kanji-recognition
ichisadashioko.github.io/kanji-recognition/
Stars: ✭ 21 (-58%)
Mutual labels:  tensorflow-js
ai-lab
Library of components for TensorFlow.js in web frameworks.
Stars: ✭ 41 (-18%)
Mutual labels:  tensorflowjs
webcam-object-detection
Tensorflow.js webcam object detection in React
Stars: ✭ 24 (-52%)
Mutual labels:  tensorflow-js
deep-rl-quadcopter
Implementation of Deep Deterministic Policy Gradients (DDPG) to teach a Quadcopter How to Fly!
Stars: ✭ 17 (-66%)
Mutual labels:  deep-deterministic-policy-gradient
Threepio
A multi-language library for translating commands between PyTorch, TensorFlow, and TensorFlow.js
Stars: ✭ 56 (+12%)
Mutual labels:  tensorflowjs
content-moderation-image-api
An NSFW Image Classification REST API for effortless Content Moderation built with Node.js, Tensorflow, and Parse Server
Stars: ✭ 50 (+0%)
Mutual labels:  tensorflow-js
Wisty.js
🧚‍♀️ Chatbot library turning conversations into actions, locally, in the browser.
Stars: ✭ 24 (-52%)
Mutual labels:  tensorflowjs
teachablemachine-node
Using Teachable Machine Models in Node.js
Stars: ✭ 45 (-10%)
Mutual labels:  tensorflowjs
anomagram
Interactive Visualization to Build, Train and Test an Autoencoder with Tensorflow.js
Stars: ✭ 152 (+204%)
Mutual labels:  tensorflowjs
tensorflow-image-recognition-chrome-extension
Chrome browser extension for using TensorFlow image recognition on web pages
Stars: ✭ 88 (+76%)
Mutual labels:  tensorflow-js
motion-planner-reinforcement-learning
End to end motion planner using Deep Deterministic Policy Gradient (DDPG) in gazebo
Stars: ✭ 99 (+98%)
Mutual labels:  deep-deterministic-policy-gradient
Reinforcement Learning With Tensorflow
Simple Reinforcement learning tutorials, 莫烦Python 中文AI教学
Stars: ✭ 6,948 (+13796%)
Mutual labels:  deep-deterministic-policy-gradient
poseparty
A social exercise game you can play while social distancing.
Stars: ✭ 25 (-50%)
Mutual labels:  tensorflowjs
face-mask-detection
Real-time Face Mask Detection using TensorFlow and Keras.
Stars: ✭ 32 (-36%)
Mutual labels:  tensorflowjs
VAE-Latent-Space-Explorer
Interactive exploration of MNIST variational autoencoder latent space with React and tensorflow.js.
Stars: ✭ 30 (-40%)
Mutual labels:  tensorflow-js
ml gallery
This is a master project of some experiments with Neural Networks. Every project here is runnable, visualized and explained clearly.
Stars: ✭ 18 (-64%)
Mutual labels:  tensorflowjs

js-gym

JavaScript environment for training reinforcement learning agents.

Installation

To download the code and install the requirements, you can run the following shell commands:

$ git clone https://github.com/bobiblazeski/js-gym.git
$ cd js-gym
$ npm install

Getting started

This code is intended to be run locally by a single user. The server runs in node.js.

To start the server from the command line, run this:

$ node server/start.js

If you have pretrained weights you could pass them

$ node server/start.js --kano=t04051134 --subzero=t04051134

You can open your browser at http://localhost:3000/

Sample algorithms

  1. Random Play
  2. Random Search
  3. HillClimbing
  4. Augmented Random Search
  5. Deep Deterministic Policy Gradient

Environments

MK

Adaptation of https://github.com/mgechev/mk.js

MK running

Action space

Action is an object containing two keys, subzero & kano. Each key contains an array of 18 probabilities which represent possible actions for the users. The sum of all actions should be ~1.

The environment is stochastic, and uses weighted random choice to select a move for your agent. Unless you pass one hot action.

State space

47 floating numbers between 0 & 1

TetNet

Adaptation of https://github.com/IdreesInc/TetNet

TetNet running

Action space

Integer in the range of [0, 11).

State space

Javascript object containing information about the game.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].