1
0
Fork 0
This commit is contained in:
Alejandro Moreo Fernandez 2021-01-06 15:00:48 +01:00
parent 326a8ab803
commit 5894d46b31
1 changed files with 0 additions and 8 deletions

View File

@ -60,14 +60,6 @@ class Ensemble(BaseQuantifier):
) for prev in prevs ) for prev in prevs
) )
# self.ensemble = [deepcopy(self.base_quantifier) for _ in range(self.size)]
# self.prevs = [self._valid_simplex_sampling(data.n_classes, min_val=min_freq) for _ in range(self.size)]
# self.samples = [data.sampling(sample_size, *Pi) for Pi in self.prevs]
# Parallel(n_jobs=self.n_jobs)(
# delayed(_delayed_fit)(Qi, Si) for Si, Qi, in zip(self.samples, self.ensemble)
# )
# static selection policy (the name of a quantification-oriented error function to minimize) # static selection policy (the name of a quantification-oriented error function to minimize)
if self.policy in qp.error.QUANTIFICATION_ERROR_NAMES: if self.policy in qp.error.QUANTIFICATION_ERROR_NAMES:
self.accuracy_policy(error_name=self.policy) self.accuracy_policy(error_name=self.policy)