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

https://github.com/abdellatif-laghjaj/caartpole-reinforcement-learning


https://github.com/abdellatif-laghjaj/caartpole-reinforcement-learning

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# CartPole Reinforcement Learning

Deep Q-Learning implementation for the CartPole balancing problem using PyGame and TensorFlow.

# Screenshot

## Features

- DQN with TensorFlow
- Real-time PyGame visualization
- Experience replay
- Live training progress

## Setup

```bash
pip install -r requirements.txt
python cartpole.py
```

## Implementation

- Neural Network: 2 hidden layers (64 units)
- Episodes: 100
- Batch Size: 32
- Learning Rate: 0.001
- Memory: 2000 experiences