kNN complete