Skip to content

Classic reinforcement learning, made inspectable

gym_classics2 is a teaching package containing finite Markov decision processes, textbook reinforcement-learning algorithms, and visualization tools. Its environments implement the standard Gymnasium API and also expose their transition models for planning algorithms.

Where to begin

Design goals

The implementations favor correspondence with Sutton and Barto's pseudocode and inspectable intermediate results over framework abstractions. They are intended for experiments, demonstrations, and coursework rather than large-scale reinforcement-learning workloads.