1
0
Fork 0

refactoring agg quantifiers

This commit is contained in:
Alejandro Moreo Fernandez 2023-11-13 09:57:34 +01:00
parent 0a6185d908
commit 44bfc7921f
1 changed files with 1 additions and 1 deletions

View File

@ -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: