seldonian.dataset.DataSet¶
- class DataSet(num_datapoints, meta, regime, **kwargs)¶
Bases:
object
- __init__(num_datapoints, meta, regime, **kwargs)¶
Abstract base class for holding data and metadata. Agnostic to regime.
- Parameters:
num_datapoints (int) – Number of data points in the dataset
meta (
MetaData
) – Metadata objectregime (str) – The category of the machine learning algorithm, e.g., “supervised_learning”, “reinforcement_learning”, or “custom”
- __repr__()¶
Return repr(self).
Methods