Skip to content

agentmodels/webppl-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webppl-agents

This package provides constructors for MDP and POMDP agents, for gridworld and bandit environments, and a function for visualizing gridworlds:

Installation

To globally install webppl-agents, run:

mkdir -p ~/.webppl
npm install --prefix ~/.webppl webppl-agents

This may print warnings (npm WARN ENOENT...) which can be ignored.

To upgrade to the latest version, run:

npm install --prefix ~/.webppl webppl-agents --force

For the agent functions, you will also need to install webppl-dp.

Usage

Once installed, you can make the environment and agent functions available to program.wppl by running:

webppl --require webppl-dp --require webppl-agents program.wppl

Testing

Run the included test using:

webppl --require webppl-dp --require . tests/tests.wppl

License

MIT

About

Webppl library for generating Gridworld MDPs. JS library for displaying Gridworld.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •