626523c8e86f35f215e482bb49bd6b1359b4a0e0,tests/test_special_orthogonal_group.py,TestSpecialOrthogonalGroupMethods,test_random_and_belongs_vectorization,#TestSpecialOrthogonalGroupMethods#,204
Before Change
for n in self.n_seq:
group = self.so[n]
points = group.random_uniform(n_samples=n_samples)
self.assertTrue(gs.all(group.belongs(points)))
@geomstats.tests.np_only
def test_regularize(self):
// Specific to 3D
After Change
group = self.so[n]
points = group.random_uniform(n_samples=n_samples)
result = gs.all(group.belongs(points))
result = helper.to_scalar(result)
expected = gs.array([[True]])
self.assertAllClose(result, expected)
@geomstats.tests.np_only
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 4
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_random_and_belongs_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_and_squared_norm_and_dist
Project Name: geomstats/geomstats
Commit Name: fb5ddabf1cea71e36d62f1557f72b28dfa290af8
Time: 2018-12-13
Author: ninamio78@gmail.com
File Name: tests/test_matrices_space.py
Class Name: TestMatricesSpaceMethods
Method Name: test_inner_product
Project Name: geomstats/geomstats
Commit Name: 5f64204ab895dee4c4a706879f89d714237a5057
Time: 2018-09-26
Author: claire.donnat@gmail.com
File Name: tests/test_minkowski_space_tensorflow.py
Class Name: TestMinkowskiSpaceTensorFlow
Method Name: test_squared_norm
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_random_and_belongs_vectorization
Project Name: geomstats/geomstats
Commit Name: fe35c8e7395bb9854794543b5bbd365d8cfc410f
Time: 2018-12-12
Author: ninamio78@gmail.com
File Name: tests/test_minkowski_space.py
Class Name: TestMinkowskiSpaceMethods
Method Name: test_variance
Project Name: geomstats/geomstats
Commit Name: ecb22f715ce7c785ef85ecbb067cf74238944a83
Time: 2018-12-12
Author: ninamio78@gmail.com
File Name: tests/test_matrices_space.py
Class Name: TestMatricesSpaceMethods
Method Name: test_inner_product
Project Name: geomstats/geomstats
Commit Name: e265e18f769186e75eb137b46be39e22bc0295d7
Time: 2018-12-12
Author: ninamio78@gmail.com
File Name: tests/test_hyperbolic_space.py
Class Name: TestHyperbolicSpaceMethods
Method Name: test_random_uniform_and_belongs