179 questions
No questions match those filters.
← All questions
Retrieval & EmbeddingsMedium· IVF Index· Vector Search· Performance Tuning
What does nprobe do, and how would you pick it?
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansNearest-centroid assignment partitions vector space into Voronoi cells. A query’s true neighbor often resides across a bisector, and nprobe dictates how many of these cells are searched. The computational cost is defined as nlist + nprobe * (N/nlist). Because nprobe behaves differently depending on the corpus structure, it must be sourced from empirical recall@k curves rather than relying on general heuristics.