rlcode/reinforcement-learning

Minimal and Clean Reinforcement Learning Examples

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on September 19th, 2026
Created on January 13th, 2017
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 735
Total Stargazers: 3,664 (+0)
Total Subscribers: 122 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1732.4 days
Mean response time: 1346.4 days
90th percentile: 2942.6 days
Tracked items: 26

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

rlcode/reinforcement-learning is a collection of educational code examples for reinforcement learning algorithms.

The repository addresses the need for clear, minimal implementations of reinforcement learning techniques spanning from foundational methods to deep learning approaches. It organizes algorithms by problem domain—grid world environments for basic methods, CartPole for intermediate techniques, and Atari games for advanced deep reinforcement learning—with one focused Python file per algorithm to keep implementations readable and self-contained.

This resource suits developers learning reinforcement learning concepts or seeking reference implementations to understand how algorithms work in practice. The progression from policy iteration and value iteration through deep Q-networks, actor-critic methods, and policy gradient approaches makes it appropriate for educational purposes or as a starting point before moving to production frameworks. The repository includes benchmark results on standard environments, demonstrating that implementations achieve reasonable performance on Atari games like Breakout and harder exploration problems like Montezuma's Revenge.

The project maintains a straightforward structure with implementations in PyTorch, includes performance benchmarks with resource usage metrics, and provides links to detailed training reports. Pull requests and issue contributions are explicitly welcomed, indicating openness to community input on code quality and algorithm coverage.