Euclidean or Manhattan in KNN
Hello,
I wonder that which distance is used on opencv KNN?
Hello,
I wonder that which distance is used on opencv KNN?
Asked: 2014-03-10 19:22:17 -0600
Seen: 462 times
Last updated: Mar 10 '14
Quite sure from file modules/ml/src/knearest.cpp, it is Euclidean.
I looked into this file. But I am not clear that it is euclidean. I dont know that how I can change method of finding distance.