Skip to content

Using reinforcement learning to train an agent to play frozen-lake.

Notifications You must be signed in to change notification settings

ibkvictor/frozen-lake-agent

Repository files navigation

Hello World, today (August 25, 2020). I trained an agent to play a navigate successfully a game called frozen lake

alt text alt text

The game can be found at https://gym.openai.com/

DISCOVERIES:

learing rate:

setting learning rate at 0.1 the qtable change by very little and the accumulated reward was also low

alt text

setting learning rate at 0.7 increasing accumulated reward significantly , but the qtable changed rapidly

alt text

setting learning rate at 0.5 the agent achieve a good amount of accumulated reward and the q table changed rapidly

alt text

number of episodes:

increasing the number total number of episode generally increased the accumulated reward and change in the qtable was significant.

reinforcement learning: q-learning

using environments in the gym package https://gym.openai.com/

implementing epsilon greedy algorithm with exponential decay

I employ you to implement the https://github.com/ibkvictor/frozen-lake-agent/blob/master/frozen_lake.ipynb and learn something cool.

please encourage me by forking this repo and giving it a star.

Your friend

Victor.