GitXplorerGitXplorer
n

reinforce

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
e24725f97b706a2f8c793d0db2194cd88d267c07

Removes docs folder

nnikhilaravi committed 8 years ago
Unverified
65df99e1ab211624a3c766174d185565a788acf3

Removes css from gitignore

nnikhilaravi committed 8 years ago
Unverified
dba0439d40bb4ea20124f1a91c14ba90c80a579b

Updates docs folder

nnikhilaravi committed 8 years ago
Unverified
89ac7043a2d2023d6852a8824e0ef787cee37245

Fixes merge conflicts

nnikhilaravi committed 8 years ago
Unverified
c54d39c71291a1af0a45717d88dad34dee49583b

Merges with amster

nnikhilaravi committed 8 years ago
Unverified
ce29f752ff855ce44600c0d33dcb44696c0165fd

removed html

committed 8 years ago

README

The README file for this repository.

https://github.com/GianlucaGuarini/es6-project-starter-kit

$ npm install
$ npm start

STEPS

  • Nodes define an agent in their constructor
  • Nodes serve as the environment

The environment must define the following functions:

  • getNumStates
  • getMaxNumActions
  • getState - returns array containing all the inputs needed for determining reward
  • sampleNextState - returns a new state array and a reward value

Learn loop

  • in getMessage on a node, sample the next state
  • get the learned action from the agent
  • get the reward from the node environment
  • call learn on the agent based on that reward