Ross ROSS = Recommend OSS · open-source software intelligence for agents

keon/deep-q-learning resource

Minimal Deep Q Learning (DQN & DDQN) implementations in Keras observed · 2026-08-28

github.com/keon/deep-q-learning · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 83
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3495
  • days_rel: n/a
  • days_push: 107
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1328 stars · 454 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A minimal, under-100-lines implementation of Deep Q-Learning (DQN and Double DQN) in Python using Keras and Gymnasium, built as a companion to a tutorial blog post. It trains a game-playing AI agent on CartPole with experience replay and save/load helpers.

Use cases

  • learn deep q-learning from a small readable codebase
  • implement a DQN agent in Keras
  • train an AI to play CartPole with reinforcement learning
  • understand the difference between DQN and Double DQN
  • see how experience replay works in practice
  • find a minimal starting point for deep RL experiments

When to choose

  • you want a tiny, educational DQN/DDQN reference implementation
  • you are learning deep reinforcement learning and prefer minimal code over frameworks
  • you need a Keras-based Q-learning example updated for modern Keras 3 and Gymnasium

When to avoid

  • you need a production-grade or feature-rich RL library with many algorithms
  • you require GPU-optimized, scalable, or distributed RL training
  • you need support for complex environments beyond simple Gymnasium tasks

Facets

learning-resource · maturity active

reinforcement-learning deep-learning machine-learning reinforcement-learning deep-learning machine-learning tutorials education python dqn ddqn keras gymnasium cartpole experience-replay q-learning educational-code

2 sources

Member repositories

RepositoryRoleHealth v2
keon/deep-q-learningmain70

For agents

markdown · JSON · MCP: product_card(name="keon/deep-q-learning")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem