d496aaefc795e176b615815e9f30f335860f013b,geomstats/lie_group.py,LieGroup,group_log,#LieGroup#Any#Any#,59
Before Change
of the point point.
if base_point is None:
return self.group_log(point, self.identity)
else:
raise NotImplementedError(
"The group logarithm is not implemented.")
After Change
if base_point is self.identity:
group_log = self.group_log_from_identity(point)
else:
jacobian = self.jacobian_translation(point=base_point,
left_or_right="left")
point_near_id = self.compose(self.inverse(base_point), point)
group_log_from_id = self.group_log_from_identity(
point=point_near_id)
group_log = np.dot(jacobian, group_log_from_id)
return group_log
def group_exponential_barycenter(self, points, weights=None):
Compute the group exponential barycenter.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: geomstats/geomstats
Commit Name: d496aaefc795e176b615815e9f30f335860f013b
Time: 2018-01-22
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_log
Project Name: geomstats/geomstats
Commit Name: d496aaefc795e176b615815e9f30f335860f013b
Time: 2018-01-22
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_exp
Project Name: drckf/paysage
Commit Name: 515cc8cc6fd3074aa798b8851769bb48e9fb95bb
Time: 2017-04-05
Author: charleskennethfisher@gmail.com
File Name: paysage/models/hidden.py
Class Name:
Method Name: grad_magnitude