mlcompare.data.LocalDataset#
- class mlcompare.data.LocalDataset(**data)[source]#
Represents a locally saved dataset with all the fields required to load and prepare it for model evaluation.
Attributes:#
file_path (str | Path): Path to the local dataset file. 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. If None, the file will be saved with the same name as the original file. 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.