mlcompare.data.BaseDataset#
- class mlcompare.data.BaseDataset(**data)[source]#
Base class for datasets, containing attributes related to data cleaning and reformatting.
Attributes:#
target (str): Column name for the target of the predictions. save_name (str | None): Name to use for files saved from this dataset. Should be unique across datasets. drop (list[str] | None): List of column names to be dropped from the dataset. one_hot_encode (list[str] | None): List of column names to be one-hot encoded in the dataset.