1
0
Fork 0

Added back n_classes to Dataset

This commit is contained in:
Andrea Esuli 2021-05-06 16:28:30 +02:00
parent 5b772c7eda
commit 147b2f2212
1 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,10 @@ class Dataset:
def classes_(self):
return self.training.classes_
@property
def n_classes(self):
return self.training.n_classes
@property
def binary(self):
return self.training.binary