uwot icon indicating copy to clipboard operation
uwot copied to clipboard

Support binary metric

Open frederikziebell opened this issue 2 years ago • 2 comments

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.

frederikziebell avatar Apr 01 '22 18:04 frederikziebell

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 avatar Apr 02 '22 19:04 jlmelville

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.

jlmelville avatar Mar 11 '24 04:03 jlmelville