introduction-to-deep-learning/Intelligence Artificielle d.../gym/docs/agents.md

2.3 KiB

Agents

An "agent" describes the method of running an RL algorithm against an environment in the gym. The agent may contain the algorithm itself or simply provide an integration between an algorithm and the gym environments.

RandomAgent

A sample agent located in this repo at gym/examples/agents/random_agent.py. This simple agent leverages the environments ability to produce a random valid action and does so for each step.

cem.py

A generic Cross-Entropy agent located in this repo at gym/examples/agents/cem.py. This agent defaults to 10 iterations of 25 episodes considering the top 20% "elite".

dqn

This is a very basic DQN (with experience replay) implementation, which uses OpenAI's gym environment and Keras/Theano neural networks. /sherjilozair/dqn

Simple DQN

Simple, fast and easy to extend DQN implementation using Neon deep learning library. Comes with out-of-box tools to train, test and visualize models. For details see this blog post or check out the repo.

AgentNet

A library that allows you to develop custom deep/convolutional/recurrent reinforcement learning agent with full integration with Theano/Lasagne. Also contains a toolkit for various reinforcement learning algorithms, policies, memory augmentations, etc.

rllab

a framework for developing and evaluating reinforcement learning algorithms, fully compatible with OpenAI Gym. It includes a wide range of continuous control tasks plus implementations of many algorithms. /rllab/rllab

keras-rl

keras-rl implements some state-of-the art deep reinforcement learning algorithms. It was built with OpenAI Gym in mind, and also built on top of the deep learning library Keras and utilises similar design patterns like callbacks and user-definable metrics.