Abstract

The Large Margin Nearest Neighbor (LMNN) metric learning algorithm has been successfully used in many applications and continuously motivates new research works. However, the high computational complexity of training the LMNN algorithm inherent from the k-Nearest Neighbor (kNN) search makes it inapplicable to large datasets, especially when we need to tune the hyper-parameters of the LMNN algorithm. In this paper, we present the fast LMNN algorithm through random sampling. Random sampling method reduces the number of samples that needs to be considered and therefore greatly reduces the computational complexity of training the LMNN algorithm. Our experiments show that when the sample rate is 10%, the performance of LMNN algorithm is nearly the same to training on all data samples while the training time is only 8% to 40% of training on all data samples. We further show that random sampling method can efficiently tune the hyper-parameters of the LMNN algorithm.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.