Skip to content

Viddesh1/RL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

47 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

episode_4

๐ŸŒŠ โ„๏ธ โ›„ ๐Ÿ•ณ๏ธ ๐ŸŽฏ RL-Frozen-Lake ๐ŸŽฏ ๐Ÿ•ณ๏ธ โ›„ โ„๏ธ ๐ŸŒŠ

This repository contains a reinforcement learning agent designed to solve the Frozen Lake problem. The agent uses Q-learning algorithm to learn the optimal policy for navigating a grid of frozen lake tiles, while avoiding holes and reaching the goal. The implementation is in Python and uses the OpenAI Gym environment. To run the code, you will need to install the following dependencies of python.

For more information regarding environment :- https://gymnasium.farama.org/environments/toy_text/frozen_lake/

Library Version Description
Python ๐Ÿ 3.11.2 For development of RL mini project (.ipynb)
Numpy ๐Ÿƒ 1.23.5 For fast numeric / linear algebra computation
Gym ๐Ÿ‹๏ธ 0.24.0 For using open AI gym environment of Frozen_Lake_v1
Pygame ๐ŸŽฎ 2.3.0 For rendering open AI gym environment of Frozen_Lake_v1

File Structure layout

RL                              # Project Directory
โ”œโ”€โ”€ frozenLake_qTable.pkl       # Trained Q-learning Model
โ”œโ”€โ”€ Mini_Project.ipynb          # Python Code File
โ”œโ”€โ”€ Q-Formula.png               # Formula of Q-Learning
โ”œโ”€โ”€ README.md                   # Markdown file of the project
โ””โ”€โ”€ requirements.txt            # Dependencies of the project

  • Want to contribute ?

    1. Folk the repository in github.

    2. Create a clone in your local system using below command :-

      git clone [url_repo]

    3. In cmd type :-

      cd [project]

    4. Then create a dedicated branch for the work with effective name using below command :-

      git checkout -b [Effective_branch-name]

    5. Then you can work on the respective repository in your local machine. After you did your changes then follow below commands :-

      git add [file_names]

      git commit -m "commit message"

      git push origin [branch_you_created]

    6. Open pull request in github with dedicated comment.


Star History

Star History Chart


Contributors

Made with contrib.rocks.

๐Ÿ”ผ Go to Top

About

Using Reinforcement Learning for solve the Frozen lake problem in Open AI gym environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •