-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor/clean module of discrete curves #1183
Comments
The class QuotientSRVMetric should not inherit from SRVMetric. Indeed, with this inheritance, whenever a method is not found in QuotientSRVMetric, it is taken from its parent class SRVMetric - which is not correct. For example, QuotientSRVMetric does not have a |
Same for ClosedSRVMetric. Using QuotientSRVMetric or ClosedSRVMetric within FrechetMean will run, but the estimated mean will not be the frechetmean corresponding to these metrics --- because of this inheritance. |
@alebrigant what do you think about this paper to compute the distance (only the distance) in the quotient SRV space: |
|
'DiscreteCurves' object has no attribute 'random_uniform' |
DiscreteCurves should also inherit from Landmarks and have a fixed number of sampling points. This would be more consistent with the code base, and avoid math.inf in the dimensions of the manifold. |
|
|
see issue #1484 |
PR #1632 addresses the API issue. |
Copy-pasting here a comment from PR #1632 @alebrigant Re name: I wonder if we should put the name of the group inducing the quotient in the name of the class. We could have a SRVShapeBundle only by quotienting the action of rotations. Actually, in these shape manifolds, we will have a series of quotient, for each additional group applied. Thus: SRVRotationBundle, SRVParamBundle? |
I agree we need to rethink the way we handle different quotients. Maybe the best way, from a user-perspective, would be to have a class |
There are a few tasks that remain to be done to clean-up or refactor the module of discrete curves:
The text was updated successfully, but these errors were encountered: