d4c0d404adac1a135f1aa2114d156fb8b3395265,tests/test_special_orthogonal_group.py,TestSpecialOrthogonalGroupMethods,test_log_vectorization,#TestSpecialOrthogonalGroupMethods#,3184

Before Change


            result = metric.log(n_point, n_base_point)
            self.assertTrue(gs.allclose(result.shape,
                                        (n_samples, group.dimension)))
            expected = gs.vstack([metric.log(point, base_point)
                                  for point, base_point in zip(n_point,
                                                               n_base_point)])
            self.assertTrue(gs.allclose(expected.shape,
                                        (n_samples, group.dimension)))
            self.assertTrue(gs.allclose(result, expected),
                            "with metric {}".format(metric_type))

After Change



            // Test with the 1 base point, and several different points
            result = metric.log(n_point, one_base_point)
            self.assertAllClose(
                gs.shape(result), (n_samples, group.dimension))

            // Test with the several base point, and 1 point
            result = metric.log(one_point, n_base_point)
            self.assertAllClose(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 3

Instances


Project Name: geomstats/geomstats
Commit Name: d4c0d404adac1a135f1aa2114d156fb8b3395265
Time: 2018-12-26
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_log_vectorization


Project Name: pymanopt/pymanopt
Commit Name: 68f33e7d12612fc4f1aaa11c178a8aafb7466cc6
Time: 2016-02-19
Author: jamiehntownsend@gmail.com
File Name: tests/test_manifold_oblique.py
Class Name: TestObliqueManifold
Method Name: test_exp_log_inverse


Project Name: cornellius-gp/gpytorch
Commit Name: 91b0d220c8e816766fd4565e1d2f5115d3afbefe
Time: 2018-10-12
Author: gpleiss@gmail.com
File Name: test/functions/test_inv_quad_log_det.py
Class Name: TestInvQuadLogDetBatch
Method Name: test_inv_quad_log_det_many_vectors


Project Name: cornellius-gp/gpytorch
Commit Name: 91b0d220c8e816766fd4565e1d2f5115d3afbefe
Time: 2018-10-12
Author: gpleiss@gmail.com
File Name: test/functions/test_inv_quad_log_det.py
Class Name: TestInvQuadLogDetBatch
Method Name: test_log_det_only


Project Name: pymanopt/pymanopt
Commit Name: 68f33e7d12612fc4f1aaa11c178a8aafb7466cc6
Time: 2016-02-19
Author: jamiehntownsend@gmail.com
File Name: tests/test_manifold_grassmann.py
Class Name: TestGrassmannManifold
Method Name: test_log_exp_inverse


Project Name: geomstats/geomstats
Commit Name: a3175090bbbeca4c3daa1cd9230b8f01c068f94a
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_log_vectorization


Project Name: geomstats/geomstats
Commit Name: 274b1c4436c7f4edf92973e2f1668d95aa2207cb
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_discretized_curves_space.py
Class Name: TestDiscretizedCurvesSpaceMethods
Method Name: test_l2_metric_log_vectorization