I have trained KNN to recognise obj A as 1
When I am doinh knn->findKnearest(data,m,response,neighbor,dist);
I get response as 0; Then neighbor [1,0,...] dist[0,0.23333]
What does this mean? Do I have to use euclidean distance to do matching?
1 | initial version |
I have trained KNN to recognise obj A as 1
When I am doinh knn->findKnearest(data,m,response,neighbor,dist);
I get response as 0; Then neighbor [1,0,...] dist[0,0.23333]
What does this mean? Do I have to use euclidean distance to do matching?