Cycle

class coba.environments.Cycle

Cycle reward values.

Useful for testing a learner’s response to a non-stationary shock.

Constructors

__init__(after: int = 0)

Instantiate a Cycle filter.

Parameters:

after – The number of interactions to wait before cycling reward values.

Methods

filter(interactions: Iterable[Interaction]) Iterable[Interaction]

Apply filter to an Environment’s interactions.

Attributes

params