metric-learn: Metric Learning in Python -- metric-learn 0.1.0 documentation


Distance metrics are widely used in the machine learning literature. Traditionally, practicioners would choose a standard distance metric (Euclidean, City-Block, Cosine, etc.) Distance metric learning (or simply, metric learning) is the sub-field of machine learning dedicated to automatically constructing optimal distance metrics. This package contains efficient Python implementations of several popular metric learning algorithms.