org.apache.flink.ml.metrics.distances
Returns the distance between the arguments.
Returns the distance between the arguments.
a Vector defining a multi-dimensional point in some space
a Vector defining a multi-dimensional point in some space
a scalar double of the distance
This class implements a Chebyshev distance metric. The class calculates the distance between the given vectors by finding the maximum difference between each coordinate.
http://en.wikipedia.org/wiki/Chebyshev_distance