forked from moreo/QuaPy
Merge branch 'protocols' of github.com:HLT-ISTI/QuaPy into protocols
This commit is contained in:
commit
cef20d8b32
|
@ -341,7 +341,7 @@ class CovariateShiftPP(AbstractStochasticSeededProtocol):
|
||||||
indexesA, indexesB = indexes
|
indexesA, indexesB = indexes
|
||||||
sampleA = self.A.sampling_from_index(indexesA)
|
sampleA = self.A.sampling_from_index(indexesA)
|
||||||
sampleB = self.B.sampling_from_index(indexesB)
|
sampleB = self.B.sampling_from_index(indexesB)
|
||||||
return self.collator(sampleA+sampleB)
|
return sampleA+sampleB
|
||||||
|
|
||||||
def total(self):
|
def total(self):
|
||||||
return self.repeats * len(self.mixture_points)
|
return self.repeats * len(self.mixture_points)
|
||||||
|
|
Loading…
Reference in New Issue