I want to change the distance function in vl_kdtreequery , Here it by default uses the euclidean distance , I want to use cosine or any other distance function . So should I change the vl_kdtreebuild function or any other easier way to achieve this ?
Show older comments
I want to change the distance function in vl_kdtreequery , Here it by default uses the euclidean distance , I want to use cosine or any other distance function . So should I change the vl_kdtreebuild function or any other easier way to achieve this ?
Answers (0)
Categories
Find more on Image Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!