rlberry.utils
.check_seeding_agent¶
- rlberry.utils.check_seeding_agent(agent, env=None, continuous_state=False, init_kwargs=None)[source]¶
Check that the agent is reproducible.
- Parameters:
- agent: rlberry agent module
Agent class to test.
- env: tuple (env_ctor, env_kwargs) or str in {“continuous_state”, “discrete_state”}, default=”continuous_state”
if tuple, env is the constructor and keywords of the env on which to test. if str in {“continuous_state”, “discrete_state”}, we use a default Benchmark environment.
- init_kwargsdict
Arguments required by the agent’s constructor.