Show HN: Vicinity – Fast, Lightweight Nearest Neighbors with Flexible Back Ends

We’ve just open-sourced Vicinity, a lightweight approximate nearest neighbors (ANN) search package that allows for fast experimentation and comparison of a larger number of well known algorithms.

Main features:

- Lightweight: the base package only uses Numpy

- Unified interface: use any of the supported algorithms and backends with a single interface: HNSW, Annoy, FAISS, and many more algorithms and libraries are supported

- Easy evaluation: evaluate the performance of your backend with a simple function to measure queries per second vs recall

- Serialization: save and load your index for persistence

After working with a large number of ANN libraries over the years, we found it increasingly cumbersome to learn the interface, features, quirks, and limitations of every library. After writing custom evaluation code to measure the speed and performance for the 100th time to compare libraries, we decided to build this as a way to easily use a large number of algorithms and libraries with a unified, simple interface that allows for quick comparison and evaluation.

We are curious to hear your feedback! Are there any algorithms that are missing that you use? Any extra evaluation metrics that are useful?


Comments URL: https://news.ycombinator.com/item?id=42289109

Points: 20

# Comments: 1

https://github.com/MinishLab/vicinity

Établi 6mo | 1 déc. 2024, 20:30:14


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Show HN: DIY virtual HDMI monitor using "AR" glasses

I am making a virtual HDMI monitor using Viture Pro XR glasses and an SBC ( currently OrangePi 5 Plus because it has HDMI-in ).

What it does is map the frames from the HDMI input onto a virtual

11 juin 2025, 14:30:13 | Hacker news
Show HN: Ikuyo a Travel Planning Web Application

Hi HN,

In the past ~8 months, I have been working on a side project that helps me plan my travels. While most months saw no or little progress, in the past ~3 months I have been adding tons of f

11 juin 2025, 14:30:11 | Hacker news