seldonian.dataset.MetaData¶
- class MetaData(regime, sub_regime, all_col_names, sensitive_col_names=None)¶
Bases:
object
- __init__(regime, sub_regime, all_col_names, sensitive_col_names=None)¶
Base class for holding dataset metadata
- Parameters:
regime (str) – The category of the machine learning algorithm, e.g., supervised_learning or reinforcement_learning
sub_regime (str) – The sub-category of the machine learning algorithm, e.g., “classification” or “regression” for supervised learning problems.
all_col_names (list(str)) – A list of all of the column names in the dataset, including any sensitive attributes and labels.
sensitive_col_names (list(str), defaults to None) – A list the sensitive column names in the dataset, if any.
- __repr__()¶
Return repr(self).
Methods