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

Support binary metric #92

Open
frederikziebell opened this issue Apr 1, 2022 · 2 comments
Open

Support binary metric #92

frederikziebell opened this issue Apr 1, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@frederikziebell
Copy link

For binary data, it would be helpful to support the binary metric as implemented in dist(metric="binary"). Currently, the only way is to pass the dist object directly, which is very memory inefficient.

@jlmelville jlmelville added the enhancement New feature or request label Apr 2, 2022
@jlmelville
Copy link
Owner

The description in the doc for ?dist seems to be indicate that method = "binary" is the Jaccard/Tanimoto distance. Supporting this will require an alternative to Annoy, so it won't be happening any time soon, unfortunately.

@jlmelville
Copy link
Owner

Although not as convenient as full integration with uwot, rnndescent supports the Jaccard/Tanimoto coefficient with binary data. See the rnndescent article for details on using it with uwot.

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

2 participants