inf to datasets with only one class