1
0
Fork 0

OneVsAll does not have attribute learner_ solved

This commit is contained in:
Alejandro Moreo Fernandez 2021-06-01 16:07:01 +02:00
parent be1fa757d6
commit 460efe7105
1 changed files with 2 additions and 2 deletions

View File

@ -590,12 +590,12 @@ class OneVsAll(AggregativeQuantifier):
# some quantifiers (in particular, ELM-based ones) cannot be run with multiprocess, since the temp dir they # some quantifiers (in particular, ELM-based ones) cannot be run with multiprocess, since the temp dir they
# create during the fit will be removed and be no longer available for the predict... # create during the fit will be removed and be no longer available for the predict...
Parallel(n_jobs=self.n_jobs, backend='threading')( Parallel(n_jobs=self.n_jobs, backend='threading')(
delayed(func)(c, *args, **kwargs) for c in self.classes delayed(func)(c, *args, **kwargs) for c in self.classes_
) )
) )
@property @property
def classes(self): def classes_(self):
return sorted(self.dict_binary_quantifiers.keys()) return sorted(self.dict_binary_quantifiers.keys())
def set_params(self, **parameters): def set_params(self, **parameters):