dataeval.data.selections.ClassBalance

class dataeval.data.selections.ClassBalance

Balance the dataset by class.

Note

The total number of instances of each class will be equalized which may result in a lower total number of instances than specified by the selection limit.