mindelec.data.ExistedDataConfig
- class mindelec.data.ExistedDataConfig(name, data_dir, columns_list, data_format='npy', constraint_type='Label', random_merge=True)[source]
Set arguments of ExistedDataset.
- Parameters
name (str) – specifies the name of dataset.
data_dir (Union[str, list, tuple]) – the path of existed data files.
columns_list (Union[str, list, tuple]) – list of column names of the dataset.
data_format (str, optional) – the format of existed data files (default=’npy’). The format of ‘npy’ is supported now.
constraint_type (str, optional) – specifies the constraint type of the created dataset (default=”Label”).
random_merge (bool, optional) – specifies whether randomly merge the given datasets (default=True).
- Supported Platforms:
Ascend