seldonian.dataset.RLDataSet

class RLDataSet(episodes, meta, sensitive_attrs=[], **kwargs)

Bases: DataSet

__init__(episodes, meta, sensitive_attrs=[], **kwargs)

Class for holding reinforcement learning episodes and metadata

Parameters:
  • episodes (list(Episode)) – List of episodes

  • meta (RLMetaData) – Metadata object

  • sensitive_attrs (numpy.ndarray, defaults to []) – Sensitive attribute array for each data point

__repr__()

Return repr(self).

Methods