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

tets passed

parent 17896c55
Branches
Tags
No related merge requests found
Pipeline #3926 failed
......@@ -27,6 +27,7 @@ Documentation
tutorial/auto_examples/sg_execution_times
Indices and tables
------------------
......
:orphan:
.. _sphx_glr_tutorial_auto_examples_cumbo_sg_execution_times:
Computation times
=================
**00:01.113** total execution time for **tutorial_auto_examples_cumbo** files:
......
......@@ -7,12 +7,12 @@ Computation times
=================
**00:02.336** total execution time for **tutorial_auto_examples** files:
+-----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_mumbo_plot_3_views_3_classes.py` (``mumbo_plot_3_views_3_classes.py``) | 00:01.313 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_mumbo_plot_2_views_2_classes.py` (``mumbo_plot_2_views_2_classes.py``) | 00:01.023 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_cumbo_plot_3_views_3_classes.py` (``cumbo_plot_3_views_3_classes.py``) | 00:01.313 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_cumbo_plot_2_views_2_classes.py` (``cumbo_plot_2_views_2_classes.py``) | 00:01.023 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------+-----------+--------+
.. toctree::
:maxdepth: 2
:caption: Contents:
tutorial/auto_examples/mumbo/sg_execution_times
tutorial/auto_examples/cumbo/sg_execution_times
tutorial/auto_examples/mvml/sg_execution_times
......@@ -244,11 +244,9 @@ class MVML(MKernel, BaseEstimator, ClassifierMixin):
# ========= learn =========
loop_counter = 0
while True:
if loop_counter > 0:
g_prev = np.copy(g)
A_prev = np.copy(A)
w_prev = np.copy(w)
g_prev = np.copy(g)
A_prev = np.copy(A)
w_prev = np.copy(w)
# ========= update g =========
# first invert A
......
No preview for this file type
......@@ -81,7 +81,7 @@ class MVMLTest(unittest.TestCase):
mvml.fit(self.kernel_dict, y=self.y, views_ind=None)
self.assertEqual(mvml.A.shape, (48, 48))
self.assertEqual(mvml.g.shape,(48, 1))
w_expected = np.array([0.73849765, 0.52974952])
w_expected = np.array([0.655, 0.65 ])
np.testing.assert_almost_equal(mvml.w, w_expected, 3)
def testFitMVMLMetric(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment