All Projects → polyzer → rllib.js

polyzer / rllib.js

Licence: MIT license
Reinforcement learning library with JavaScript.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to rllib.js

THREE.WebGPURenderer
Experimental Three.js WebGPU renderer
Stars: ✭ 117 (+408.7%)
Mutual labels:  threejs
TweetMigration
A WebGL heatmap of global Twitter activity
Stars: ✭ 42 (+82.61%)
Mutual labels:  threejs
three js gpu picking
GPU based object picking for Three.JS
Stars: ✭ 29 (+26.09%)
Mutual labels:  threejs
three-onEvent
Add an EventListener for Object3d in your three.js project.(support click,hover or gaze)
Stars: ✭ 55 (+139.13%)
Mutual labels:  threejs
iThreeJS
以three.js为开发基础的3D模型 + 数据可视化
Stars: ✭ 40 (+73.91%)
Mutual labels:  threejs
FairyGUI-threejs
A GUI Editor & framework for Three.js
Stars: ✭ 115 (+400%)
Mutual labels:  threejs
three.wasm-experimental
Experimental Three.js WASM (WIP)
Stars: ✭ 51 (+121.74%)
Mutual labels:  threejs
dl-model
Dragalia Lost Model Viewer
Stars: ✭ 30 (+30.43%)
Mutual labels:  threejs
typefaces
Collection of Google fonts as typeface data for usage with three.js, react-three-fiber, and other tools.
Stars: ✭ 53 (+130.43%)
Mutual labels:  threejs
aframe-registry
[DISCONTINUED] Curated collection of community A-Frame components.
Stars: ✭ 76 (+230.43%)
Mutual labels:  threejs
terkel.com-2016
My Personal website. Build with Vue and ThreeJS.
Stars: ✭ 38 (+65.22%)
Mutual labels:  threejs
Depthkit.js
🎞 A plugin for using DepthKit's volumteric captures in Three.js
Stars: ✭ 64 (+178.26%)
Mutual labels:  threejs
three-laser-pointer
Interactive laser object for VR-like scenes
Stars: ✭ 26 (+13.04%)
Mutual labels:  threejs
three-vrm
⚠️ [deprecated] VRM file loader for three.js
Stars: ✭ 44 (+91.3%)
Mutual labels:  threejs
Kusabi
Coding environment 3D graphics with PureScript.
Stars: ✭ 72 (+213.04%)
Mutual labels:  threejs
voxelizer
👾 Voxelization of 3D models
Stars: ✭ 32 (+39.13%)
Mutual labels:  threejs
immersive-ar-emulation
A sort-of polyfill to emulate a fake AR environment which can be hit-tested against.
Stars: ✭ 26 (+13.04%)
Mutual labels:  threejs
gzweb
Web client for Gazebo classic simulation
Stars: ✭ 36 (+56.52%)
Mutual labels:  threejs
aframe-mirror-component
Mirror effect material that works with snapshots of the scene for A-Frame
Stars: ✭ 29 (+26.09%)
Mutual labels:  threejs
three-loader-3dtiles
This is a Three.js loader module for handling OGC 3D Tiles, created by Cesium. It currently supports the two main formats, Batched 3D Model (b3dm) - based on glTF Point cloud.
Stars: ✭ 179 (+678.26%)
Mutual labels:  threejs

rllib.js

Reinforcement learning library with JavaScript.
It provides some reinforcement learning algorithms and environments.
At this moment uses TensorFlow.js to implement functions and three.js for visualization.

Live example

Visual library: three.js

Motivation

JavaScript is a very popular programming language but JS developers have no instruments of RL.
This library was created to correct the situation. Web game makers can use it to train game bots in 2D and 3D environments.
Other can find it useful to make experiments.

Unity developers can use ML methods with ml-agents

Install and start example

Starting example:

Linux, Windows

git clone https://github.com/polyzer/rllib.js.git  
npm i   

Hungry world 2D example using PPO algorithm in js

npm run ppo-hungry-js

Hungry world 2D example using PPO algorithm with Parcel

npm run ppo-hungry-jsm

Hungry world example using PPO algorithm with Parcel

npm run ppo-hungry3d-jsm

Hungry world example using PPO algorithm Node.js training

You can start Node.js example with:

npm run ppo_node

Algorithms:

Deep Q-learning:

  • Base Deep Q-learning
  • Dueling Q-learning
  • Double Q-learning

Policy gradient:

  • REINFORCE
  • Actor-Critic
  • PPO
  • TRPO

Environments:

Without physics:
Flat world 3D. Discrete and continuous versions.

  • Agent have 10 eye-detectors.
  • Target: Agent trying to learn eating only green items if he see them.
  • Actions: turns on specified angles.
  • Space: Agent recieves signal from each eye that specifies type of saw item.

Known issues:

Node.js

symbol lookup error on nVidia

It could be helpful:

npm rebuild --build-from-source gl
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].