Giter Site home page Giter Site logo

taxi-v3-q-learning's Introduction

Taxi-v3 Q-Learning

A simple Q-learning implementation in OpenAI Gym's "Taxi-v3" environment.

What is OpenAI Gym's "Taxi-v3" environment

p

The "Taxi-v3" environment simulates a simple grid world in which an autonomous taxi operates.

Here are the key characteristics and components of the "Taxi-v3" environment:

  1. Grid World

    • The environment consists of a grid world with a fixed size.
    • The grid world includes walls, empty cells, passenger locations, a taxi, and a destination location.
  2. Taxi and Passengers

    • The taxi is represented as a yellow rectangle, and its position on the grid can change.
    • Passengers are represented by letters (R, G, Y, and B) that indicate their destinations.
    • Passengers are initially located at random positions within the grid.
  3. Destination Locations

    • There are four fixed destinations represented by the corresponding letters (R, G, Y, and B).
    • Passengers request rides to one of these destinations.
  4. Objective

    • The objective of the taxi is to pick up passengers and drop them off at their requested destinations while navigating the grid world.

Complete Details

How to solve this problem using Q-learning

Q-Learning Process

process

The agent (the taxi) receives a reward for successful pickups and drop-offs and penalties for illegal moves, such as hitting walls or attempting to pick up passengers who are not at the designated location.

The action space consists of discrete actions that the taxi can take, including moving in four directions (up, down, left, right), picking up a passenger, and dropping off a passenger.

taxi-v3-q-learning's People

Contributors

mehrabkalantary avatar

Stargazers

 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.