by stakecounter · 8y ago · 0 comments
An alternative is to precompute a search index over the item vectors if the dataset of items is very large and you’re OK with running an approximate search to trade a bit of recall for performance, using algorithms provided by libraries like the following.
Nmslib: https://github.com/searchivarius/nmslib
Faiss (Facebook): https://github.com/facebookresearch/faiss
Annoy (Spotify): https://github.com/spotify/annoy
No comments yet.