From 460efe710579b557605bcceca87a804c3aa6ba98 Mon Sep 17 00:00:00 2001 From: Alex Moreo Date: Tue, 1 Jun 2021 16:07:01 +0200 Subject: [PATCH] OneVsAll does not have attribute learner_ solved --- quapy/method/aggregative.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quapy/method/aggregative.py b/quapy/method/aggregative.py index ff94c21..6294e1b 100644 --- a/quapy/method/aggregative.py +++ b/quapy/method/aggregative.py @@ -590,12 +590,12 @@ class OneVsAll(AggregativeQuantifier): # 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... 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 - def classes(self): + def classes_(self): return sorted(self.dict_binary_quantifiers.keys()) def set_params(self, **parameters):