8000 Use aligner abstraction within fiber bundle and rely on group action on total space by luisfpereira · Pull Request #1978 · geomstats/geomstats · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use aligner abstraction within fiber bundle and rely on group action on total space #1978

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

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

luisfpereira
Copy link
Collaborator

This PR updates FiberBundle to:

  1. use an AlignerAlgorithm: follows what was already being done in discrete curves and graph space (notice the abstraction was initially defined within the graph space context)

  2. definitely moves group_action to the total space by removing it from fiber bundle

For 1., the main advantages are i) an easier control of the numerical parameters, ii) homogenization of the code among all the uses of quotient spaces (including graph space), iii) it becomes easier and more natural to plugin different aligner algorithms (this has already being taken advantage of within discrete curves).

For 2., we use space.equip_with_group_action method and make everything consistent, i.e. a group action endows the total space. Notice that a group action can simply be a callable (see e.g. full_rank_correlation_matrices.CorrelationMatricesBundle) or a child of GroupAction. The aligner algorithm works with just a little extra information regarding group dimensionality.

Copy link
codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.25%. Comparing base (cadbda2) to head (c798204).
Report is 6 commits behind head on main.

❗ Current head c798204 differs from pull request most recent head dea67aa. Consider uploading reports for the commit dea67aa to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1978      +/-   ##
==========================================
+ Coverage   92.10%   92.25%   +0.16%     
==========================================
  Files         158      155       -3     
  Lines       14442    13936     -506     
==========================================
- Hits        13300    12855     -445     
+ Misses       1142     1081      -61     
Flag Coverage Δ
autograd 88.71% <98.89%> (-0.82%) ⬇️
numpy 88.95% <74.45%> (+0.03%) ⬆️
pytorch 87.97% <98.89%> (-0.89%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@luisfpereira luisfpereira force-pushed the aligner-group-action branch from b2d525d to c798204 Compare March 19, 2024 16:19
@luisfpereira luisfpereira force-pushed the aligner-group-action branch from c798204 to dea67aa Compare April 8, 2024 09:56
@luisfpereira
Copy link
Collaborator Author

@ninamiolane, I'm merging because, as we've discussed in our last meeting, the API becomes much cleaner (we need with some urgency for discrete curves). There's some naming we may need to improve regarding the group action (let's take a look again to it at some point).

@luisfpereira luisfpereira merged commit 7943b09 into geomstats:main Apr 8, 2024
@luisfpereira luisfpereira deleted the aligner-group-action branch April 8, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0