pub type MetricType = DistanceType;
For backwards compatibility.
enum MetricType { L2, Cosine, Dot, Hamming, }
Dot Product
Hamming Distance