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 ?

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)

Asked:

on 18 Mar 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!