renom_rl.environ.openai

class renom_rl.environ.openai. Pendulum

A wrapper environment of OpenAI gym “Pendulum-v0”.

Example

>>> import renom as rm
>>> from renom_rl.discrete.dqn import DQN
>>> from renom_rl.environ.openai import Pendulum
>>> env = Pendulum()
>>> model = rm.Sequential([
...     rm.Dense(10),
...     rm.Dense(1),
... ])
...
>>> agent = DQN(env, model)
>>> agent.fit()
class renom_rl.environ.openai. Breakout

A wrapper environment of OpenAI gym “Breakout-v0”.

Example

>>> import renom as rm
>>> from renom_rl.discrete.dqn import DQN
>>> from renom_rl.environ.openai import Breakout
>>> env = Breakout()
>>> model = rm.Sequential([
...     rm.Dense(10),
...     rm.Dense(1),
... ])
...
>>> agent = DQN(env, model)
>>> agent.fit()