Where
- class coba.environments.Where
Select for characteristics
Constructors
- __init__(*, n_interactions: int | Tuple[int | None, int | None] | None = None, n_actions: int | Tuple[int | None, int | None] | None = None, n_features: int | Tuple[int | None, int | None] | None = None) None
Instantiate a Where filter.
- Parameters:
n_interactions – The minimum, maximum or exact number of interactions Environments must have.
n_actions – The minimum, maximum or exact number of actions interactions must have.
n_features – The minimum, maximum or exact number of features interactions must have.
Methods
- filter(interactions: Iterable[Interaction]) Iterable[Interaction]
Apply filter to an Environment’s interactions.
Attributes
- params