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

Pairwise distance with respect to 2 columns of the second matrix #167

Open
biona001 opened this issue Jun 18, 2020 · 1 comment
Open

Pairwise distance with respect to 2 columns of the second matrix #167

biona001 opened this issue Jun 18, 2020 · 1 comment

Comments

@biona001
Copy link

I am interested in a funny scenario where given matrices X and Y, I want to compute

euclidean(x, yi, yj) = ||x - yi - yj||^2

for all columns of X and all column pairs of Y. I am wondering if there's some way to use this package for this purpose?

@biona001
Copy link
Author

biona001 commented Jun 18, 2020

More specifically, I am only interested in the pairs (i, j) such that this distance is minimized for every column of x. If we compute the distance for all such pairs then the distance matrix may be too large as Y increases.

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

No branches or pull requests

1 participant