Distance Metrics

Description

Different metrics of distance are convenient for different types of analysis. Flink ML provides
built-in implementations for many standard distance metrics. You can create custom
distance metrics by implementing the DistanceMetric trait.