def test_isotonic(self):
     gmm = SKLearnGMMUBMClassification(n_components=8,
                                       calibration='isotonic')
     gmm.fit(self.trnX, self.trny)
     assert gmm.score(self.tstX, self.tsty) > 0.85
 def test_gmmubm(self):
     gmm = SKLearnGMMUBMClassification(n_components=8)
     gmm.fit(self.trnX, self.trny)
     assert gmm.score(self.tstX, self.tsty) > 0.85