def test_cc_background(self): """ Added after finding a ?bug? in which Cheng and Church's column matrix would be transposed for certain datasets, and not for others. It seems to happen when Cheng and Church finds the whole dataset as a bicluster; this often happens when delta is large. """ data, exp = bb.make_shift_data(background_scale=0) fnd = bb.cheng_church(self.data, delta=0.5)
def setUp(self): self.data, exp = bb.make_shift_data()