added knn classifier to rank