val_split in pcc

This commit is contained in:
Andrea Esuli 2026-02-09 15:15:08 +01:00
parent 7562e7c85f
commit 51190c2c7d
1 changed files with 2 additions and 2 deletions

View File

@ -402,8 +402,8 @@ class PCC(AggregativeSoftQuantifier):
:param classifier: a sklearn's Estimator that generates a classifier
"""
def __init__(self, classifier: BaseEstimator = None, fit_classifier: bool = True):
super().__init__(classifier, fit_classifier, val_split=None)
def __init__(self, classifier: BaseEstimator = None, fit_classifier: bool = True, val_split=None):
super().__init__(classifier, fit_classifier, val_split=val_split)
def aggregation_fit(self, classif_predictions, labels):
"""