626523c8e86f35f215e482bb49bd6b1359b4a0e0,tests/test_special_orthogonal_group.py,TestSpecialOrthogonalGroupMethods,test_projection_vectorization,#TestSpecialOrthogonalGroupMethods#,148

Before Change


        for n in self.n_seq:
            group = self.so[n]
            n_samples = self.n_samples
            mats = gs.random.rand(n_samples, n, n)
            result = group.projection(mats)
            self.assertTrue(result.shape == (n_samples, n, n))

    @geomstats.tests.np_only

After Change


        for n in self.n_seq:
            group = self.so[n]
            n_samples = self.n_samples
            mats = gs.ones((n_samples, n, n))
            result = group.projection(mats)
            self.assertAllClose(gs.shape(result), (n_samples, n, n))

    def test_skew_matrix_from_vector(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: geomstats/geomstats
Commit Name: 626523c8e86f35f215e482bb49bd6b1359b4a0e0
Time: 2018-12-12
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_projection_vectorization


Project Name: geomstats/geomstats
Commit Name: 836d807557d140b2634174733c6fb55f691b6d8c
Time: 2018-12-13
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_projection_vectorization


Project Name: geomstats/geomstats
Commit Name: 626523c8e86f35f215e482bb49bd6b1359b4a0e0
Time: 2018-12-12
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_projection


Project Name: geomstats/geomstats
Commit Name: 836d807557d140b2634174733c6fb55f691b6d8c
Time: 2018-12-13
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_projection