Sort
- class coba.environments.Sort
Sort interactions by features.
Constructors
- __init__(*keys: str | int | Sequence[str | int]) None
Instantiate a Sort filter.
- Parameters:
*keys – The context items that should be sorted on.
Methods
- filter(interactions: Iterable[Interaction]) Iterable[Interaction]
Apply filter to an Environment’s interactions.
Attributes
- params