def test_ces_convergence(self, ens1): expected_values = [0.3443593, 0.1941854, 0.06857104, 0.] results = encore.ces_convergence(ens1, 5) for i, ev in enumerate(expected_values): assert_almost_equal( ev, results[i], decimal=2, err_msg= "Unexpected value for Clustering Ensemble similarity in convergence estimation" )
def test_ces_convergence(self, ens1): expected_values = [0.3443593, 0.1941854, 0.06857104, 0.] results = encore.ces_convergence(ens1, 5) for i,ev in enumerate(expected_values): assert_almost_equal(ev, results[i], decimal=2, err_msg="Unexpected value for Clustering Ensemble similarity in convergence estimation")