You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What about to change the distanceFunction or similarityFunction just by orderFunction and let the user to be responsible of the order. You always return the k-first elements of the ordered array?