From 44bfc7921feb58d47a9cd5e3999ff52808b6bea6 Mon Sep 17 00:00:00 2001 From: Alejandro Moreo Date: Mon, 13 Nov 2023 09:57:34 +0100 Subject: [PATCH] refactoring agg quantifiers --- quapy/method/aggregative.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quapy/method/aggregative.py b/quapy/method/aggregative.py index 8633039..4cbe728 100644 --- a/quapy/method/aggregative.py +++ b/quapy/method/aggregative.py @@ -65,7 +65,7 @@ class AggregativeQuantifier(ABC, BaseQuantifier): """ assert isinstance(fit_classifier, bool), 'unexpected type for "fit_classifier", must be boolean' - self.__check_classifier() + self.__check_classifier(adapt_if_necessary=(self.__classifier_method=='predict_proba')) if predict_on is None: if fit_classifier: