Skip to content

[DimensionReductionMetrics] #1095

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 10 commits into from
Apr 16, 2025

Conversation

MClemot
Copy link
Contributor

@MClemot MClemot commented Mar 7, 2025

This PR adds the following :

  • the DimensionReductionMetrics module (base + filter) that computes several quality indicators for dimension reduction
  • the PersistenceDiagramWarmRestartAuction (base) that computes Wasserstein distances between persistence diagrams with possible re-use of k-d tree
  • some changes in the RipsPersistenceDiagram module (it is now possible to choose the table columns with regexp, and to choose in which field Ripser computes the persistent homology)

Copy link
Collaborator

@julien-tierny julien-tierny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @MClemot ,
thanks a lot for this PR!
it looks all good.
that'd be wonderful if you could address my one tiny remark. Thanks!

std::unique_ptr<KDT> kdt;
std::vector<KDT *> correspondence_kdt_map;

GoodDiagram goods;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in general, I'd recommend to add an "_" suffix at the end of member variables (to distinguish them from local variables in the code). In the rest of TTK, the member variables for the base class are written in the form thisIsMyMemberVariableName_ (see core/base/triangulation/Triangulation.h for an example).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same remark goes for all the header files of this PR (as well as your future PRs).

@julien-tierny
Copy link
Collaborator

That looks perfect. Thanks a lot Mattéo!
Can you go ahead and PR the rest?

@julien-tierny julien-tierny merged commit 6412ad7 into topology-tool-kit:dev Apr 16, 2025
49 checks passed
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.

2 participants