articleDec 5, 2005Closed access

Distance Metric Learning for Large Margin Nearest Neighbor Classification

University of Pennsylvania

Abstract

The accuracy of k-nearest neighbor (kNN) classification depends significantly on the metric used to compute distances between different examples. In this paper, we show how to learn a Mahalanobis distance metric for kNN classification from labeled examples. The Mahalanobis metric can equivalently be viewed as a global linear transformation of the input space that precedes kNN classification using Euclidean distances. In our approach, the metric is trained with the goal that the k-nearest neighbors always belong to the same class while examples from different classes are separated by a large margin. As in support vector machines (SVMs), the margin criterion leads to a convex optimization based on the hinge…

Citation impact

1,706
total citations
FWCI
57.09
Percentile
100%
References
33
Citations per year

Authors

3

Topics & keywords

Keywords
  • Large margin nearest neighbor
  • MNIST database
  • Hinge loss
  • k-nearest neighbors algorithm
  • Margin (machine learning)
  • Support vector machine
  • Metric (unit)
  • Pattern recognition (psychology)
UN Sustainable Development Goals
  • Quality Education
No related works found for this paper.