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 ?

10 views (last 30 days)
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)

Community Treasure Hunt

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

Start Hunting!