Skip to content

General OpenAI gym agent trained using Deep Q Network learning (DQN) algorithm

Notifications You must be signed in to change notification settings

vivianhylee/general-OpenAI-gym-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

General OpenAI Gym Agent

General OpenAI gym agent trained using Deep Q Network learning (DQN) algorithm

Introduction

The goal of this project is to train an agent for the environments with discrete action space and continuous observation space from OpenAI gym.

Algorithm Overview

Deep Q Network learning (DQN) algorithm is implement with neural network from Keras library. Neural network is used for funciton approximation purpose and trained by past observations with Experience Replay technique using Bellman equation by back-propagation. Past experients are stored and randomly sampled for training at each step. The agent performs pure exploration at beginning followed by ε-greedy policy.

Requirements

  • python 2.7
  • numpy
  • OpenAI's gym
  • Keras with tensorflow
  • h5py

Result

LunarLander-v2

CartPole-v0

MountainCar-v0

About

General OpenAI gym agent trained using Deep Q Network learning (DQN) algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages