OpenmlSimulation

class coba.environments.OpenmlSimulation

A supervised simulation created from an openml dataset. Download a dataset from openml.org and create a SupervisedSimulation.

Constructors

__init__(data_id: int, drop_missing: bool = True, take: int = None, *, target: str = None)
__init__(*, task_id: int, drop_missing: bool = True, take: int = None, target: str = None)

Instantiate an OpenmlSimulation.

Methods

read() Iterable[SimulatedInteraction]

A sequence of interactions.

Remarks:

This function should always be “re-iterable”.

Attributes

params