Merge branch 'protocols' of github.com:HLT-ISTI/QuaPy into protocols

This commit is contained in:
Alejandro Moreo Fernandez 2022-06-21 10:27:12 +02:00
commit cef20d8b32
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ class CovariateShiftPP(AbstractStochasticSeededProtocol):
indexesA, indexesB = indexes
sampleA = self.A.sampling_from_index(indexesA)
sampleB = self.B.sampling_from_index(indexesB)
return self.collator(sampleA+sampleB)
return sampleA+sampleB
def total(self):
return self.repeats * len(self.mixture_points)