spark-knn
spark-knn copied to clipboard
Support custom distance function
provide custom distance function instead of using fixed Euclidean distance, e.g.
def distance[T](point1:T , point2:T):Double