Skip to content
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

Add distances #26

Open
lizliz opened this issue Aug 28, 2024 · 1 comment
Open

Add distances #26

lizliz opened this issue Aug 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lizliz
Copy link
Contributor

lizliz commented Aug 28, 2024

We'll want to have lots of easy options for comparing ECTS:

  • Standard L_p distances should be a one line command from scipy.distance
  • Version of distance where we find the minimum L_p distance between a pair of matrices where we can spin one of the orientations and get the cheapest alignment. Dan has a version of this from his matisse example but I bet there's a matrix multiplication way to do this way faster.
@lizliz lizliz added the enhancement New feature or request label Aug 28, 2024
@lizliz
Copy link
Contributor Author

lizliz commented Aug 29, 2024

Additional Idea from Dan:

I was thinking more about PCA alignment. The orientation of a PCA axis is arbitrary, so I was thinking in comparing two ECTs, for one to flip the PC1 axis, flip the PC2 axis, and flip both (so one of the ECTs would now be four) and to take the minimum difference of that as the distance

And I think this corresponds to just a flip of the ECT matrix along with the rotations/sliding idea. Should be easy to do without recomputing the ECT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant