Skip to content

v0.1.3

Compare
Choose a tag to compare
@jlmelville jlmelville released this 08 Apr 03:29
· 480 commits to master since this release

Moments after getting uwot on CRAN, I found a horrible bug, necessitating this patch release.

Bug fixes and minor improvements

  • Fixed an issue where the session would crash if the Annoy nearest neighbor search was unable to find k neighbors for an item.

Known issue

Even with a fix for the bug mentioned above, if the nearest neighbor index file is larger than 2GB in size, Annoy may not be able to read the data back in. This should only occur with very large or high-dimensional datasets. The nearest neighbor search will fail under these conditions. A work-around is to set n_threads = 0, because the index will not be written to disk and re-loaded under these circumstances, at the cost of a longer search time. Alternatively, set the pca parameter to reduce the dimensionality or lower n_trees, both of which will reduce the size of the index on disk. However, either may lower the accuracy of the nearest neighbor results.