mlcompare.data.KaggleDataset#
- class mlcompare.data.KaggleDataset(**data)[source]#
Represents a Kaggle dataset with all the fields required to download and prepare it for model evaluation.
Attributes:#
user (str): Username of the Kaggle user who owns the dataset. dataset (str): Name of the Kaggle dataset. file (str): Name of the file to be downloaded from the dataset. 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 named user_dataset. 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.