Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Large margin
nearest neighbor (LMNN) classification is a statistical machine learning
algorithm. It learns a Pseudometric designed for k-nearest neighbor
classification. The algorithm is based on semidefinite programming, a
sub-class of convex optimization. It was originally invented by Kilian
Q. Weinberger and Lawrence K. Saul.The goal of supervised learning (more
specifically classification) is to learn a decision rule that can
categorize data instances into pre-defined classes. The k-nearest
neighbor rule assumes a training data set of labeled instances (i.e. the
classes are known). It classifies a new data instance with the class
obtained from the majority vote of the k closest (labeled) training
instances. Closeness is measured with a pre-defined metric. Large Margin
Nearest Neighbors is an algorithm that learns this global
(pseudo-)metric in a supervised fashion to improve the classification
accuracy of the k-nearest neighbor rule.