ann
AI, ML & GenAI interview questions tagged ann, across every topic.
8 questions · 1 unlocked for you
Concepts behind "ann"
The curriculum that explains the ideas these questions test.
Foundational
kNN and the Curse of Dimensionalityk-nearest-neighbors is a lazy, instance-based learner that labels a point by majority vote of its closest training examples under some distance metric. Interviews probe it because its failure mode, distance concentration in high dimensions, shows why naive nearest-neighbor search breaks down and why production systems rely on approximate nearest-neighbor indexes instead.📊 Evaluation & ML Foundations
Core
Vector Search and ANN IndexesVector search locates the embeddings closest to a query vector. Exact nearest-neighbor runs O(n) per query and will not scale, so production relies on Approximate Nearest Neighbor (ANN) indexes (HNSW, IVF, product quantization) that give up a little recall for enormous speedups. In practice the hard parts are the recall-vs-latency-vs-memory trade-off, metadata filtering, and coping with updates. AI, ML, and GenAI interviews test it because it is the engine beneath RAG and semantic search, and how you tune it directly sets retrieval quality and cost.🤖 Retrieval & AgentsSign in
