GithubHelp home page GithubHelp logo

tristanbester / options Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 264 KB

Implementation of the options framework in the four-rooms domain.

License: MIT License

Python 100.00%
machine-learning options-framework python reinforcement-learning four-rooms-domain

options's Introduction

Options Framework for the Four-Rooms Domain

Your GIF

Ovierview

  • This repository contains the code used to train and evaluate the options framework on the four-rooms domain. The options framework is a hierarchical reinforcement learning framework that allows agents to learn temporally extended actions, called options, in addition to primitive actions.
  • The agent is trained and evaluated on the four-rooms domain. The four-rooms domain is a simple grid-world environment that consists of four rooms connected by narrow corridors. The agent is tasked with navigating to a goal location in the environment. The agent is provided with a set of primitive actions that allow it to move in the four cardinal directions.
  • The agent is also provided with a set of options that allow it to move to the goal location in each of the four rooms. The agent is rewarded for reaching the goal location.

Your GIF

Prerequisites

  • Python: 3.11+
  • Poetry:
curl -sSL https://install.python-poetry.org | python3 -

Getting Started

Clone the repository:

git clone https://github.com/TristanBester/options.git
cd options

Install dependencies:

poetry install

Run the simulation:

cd src && poetry run main.py

options's People

Contributors

tristanbester avatar

Watchers

 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.