Giter Site home page Giter Site logo

kaleabtessera / gridworld-markov-decision-process Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 82 KB

Implementing a gridworld from scratch and configuring it as a Markov decision process.

Jupyter Notebook 100.00%
reinforcement-learning markov-decision-processes gridworld mdp

gridworld-markov-decision-process's Introduction

Gridworld-Markov-decision-process

Markov Decision Process (mdp) in a Gridworld Environment

Problem

  • 7x7 gridworld as an MDP:
  • Given a state and an action, you should be able to execute the action and return a new state and reward.
  • The actions are the cardinal directions and are deterministic. The states are just the cell the agent is currently in. Assume the third row from the top is all obstacles, except the right-most cell. The initial state is the bottom left, and the goal the top left.
  • There is no discounting. The reward for reaching the goal is 20, and -1 for each action.

Implementation

  • Random Agent
  • Greedy Agent following a value function calculated using value iteration.

Installation

pip install -r requirements.txt

gridworld-markov-decision-process's People

Contributors

kaleabtessera avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.