Why can deploying a KNN model in a memory-constrained production environment be problematic?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why a k-nearest neighbors model is hard to deploy where RAM is tight, such as edge devices, small containers or serverless functions. Tests how well you can size a lazy learner's memory, account for index and query-time overhead, and weigh mitigations like quantization, prototype selection and sharding.