mirror of
https://github.com/IBM/ai-privacy-toolkit.git
synced 2026-06-08 15:05:13 +02:00
Merge f5acdde8c6 into 57e38ea4fa
This commit is contained in:
commit
734d8ea1cc
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class Anonymize:
|
|||
if dataset.get_samples().shape[1] != 0:
|
||||
self.features = [i for i in range(dataset.get_samples().shape[1])]
|
||||
else:
|
||||
raise ValueError('No data provided')
|
||||
raise ValueError(f'Dataset is empty. Shape of provided data: {dataset.get_samples().shape}')
|
||||
|
||||
if dataset.features_names is not None:
|
||||
self.features_names = dataset.features_names
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue