Skip to content
Snippets Groups Projects
Commit 4a41faa5 authored by Dominique Benielli's avatar Dominique Benielli
Browse files

tets passed

parent c9c6df22
No related branches found
No related tags found
No related merge requests found
Pipeline #3927 passed
......@@ -49,7 +49,7 @@ class MKLTest(unittest.TestCase):
precision = 1E-4, n_loops = 50)
mkl.fit(self.kernel_dict, y=self.y, views_ind=None)
self.assertEqual(mkl.C.shape, (120,))
np.testing.assert_almost_equal(mkl.weights, np.array([0.7428451 , 0.66946333]), 8)
np.testing.assert_almost_equal(mkl.weights, np.array([0.70629782, 0.70791482]), 8)
def testFitMKLDictNLoop(self):
......@@ -62,7 +62,7 @@ class MKLTest(unittest.TestCase):
views_ind = [120, 240]
mkl.fit(self.kernel_dict, y=self.y, views_ind=None)
self.assertEqual(mkl.C.shape, (120,))
np.testing.assert_almost_equal(mkl.weights, np.array([0.7428451 , 0.66946333]), 8)
np.testing.assert_almost_equal(mkl.weights, np.array([0.70629782, 0.70791482]), 8)
def testFitMKLMetricPrecision(self):
#######################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment