Skip to content

CartPole is a Python implementation of the CartPole reinforcement learning environment. It utilizes the REINFORCE algorithm and is well-documented, making it easy to learn and experiment with. Train an agent to balance a pole on a cart and explore the world of reinforcement learning.

License

Patrickjliu/CartPole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CartPole

A Python implementation of the CartPole reinforcement learning environment.

Installation

  1. Clone the repository: git clone https://github.com/Patrickjliu/CartPole.git
  2. Install the required dependencies: pip install -r requirements.txt

Usage

To run the CartPole simulation, execute the following command: python cartpole.py

License

This project is licensed under the MIT License.

About

CartPole is a Python implementation of the CartPole reinforcement learning environment. It utilizes the REINFORCE algorithm and is well-documented, making it easy to learn and experiment with. Train an agent to balance a pole on a cart and explore the world of reinforcement learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages