diff --git a/quapy/data/base.py b/quapy/data/base.py index e68bcfa..ffd7e31 100644 --- a/quapy/data/base.py +++ b/quapy/data/base.py @@ -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