Skip to content

About solving the Taxi v2 from OpenAI using sarsa, sarsamax/q-learning, or expected sarsa

Notifications You must be signed in to change notification settings

handria-ntoanina/OpenAI-Gym-Taxi-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Taxi-V2

This repository contains an implementation of SARSA, SARSA-MAX, and Expected SARSA to solve the Taxi-v2 environment of OpenAI. The result is published here.

Content of this repository

  • openai-gym-taxi-v2.ipynb: the jupyter notebook that contains the implementation

Requirements

To run the codes, follow the next steps:

  • Create a new environment:
    • Linux or Mac:
     conda create --name taxi_v2 python=3.6
     source activate taxi_v2
    • Windows:
     conda create --name taxi_v2 python=3.6 
     activate taxi_v2
  • Perform a minimal install of OpenAI gym
     pip install gym
  • Create an IPython kernel for the taxi_v2 environment
	python -m ipykernel install --user --name taxi_v2 --display-name "taxi_v2"
  • Start jupyter notebook from the root of this python codes
jupyter notebook
  • Once started, change the kernel through the menu Kernel>Change kernel>taxi_v2

About

About solving the Taxi v2 from OpenAI using sarsa, sarsamax/q-learning, or expected sarsa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published