An open API service indexing awesome lists of open source software.

https://github.com/salahbm/algorithm-in-python-with-cart-pole-openai-gym--gymnasium-environment

In this repository, we post the implementation of the Q-Learning (Reinforcement) learning algorithm in Python. The codes are tested in the Cart Pole OpenAI Gym (Gymnasium) environment.
https://github.com/salahbm/algorithm-in-python-with-cart-pole-openai-gym--gymnasium-environment

Last synced: about 2 months ago
JSON representation

In this repository, we post the implementation of the Q-Learning (Reinforcement) learning algorithm in Python. The codes are tested in the Cart Pole OpenAI Gym (Gymnasium) environment.

Awesome Lists containing this project

README

        

#Algorithm-in-Python-with-Cart-Pole-OpenAI-Gym--Gymnasium-Environment

The posted files are:

- "driverCode.py" - you should start from here. This is a driver code file that explains how to use the Q-learning algorithm. This code file imports a class called "Q_Learning" that is developed in "functions.py"

- "functions.py" - this file contains the implementation of the Q-Learning algorithm. The class "Q_Learning" defined in this file implements the algorithm.