This is a toolbox that implements the method described in our paper "Distance Metric Learning by Quadratic Programming Based on Equivalence Constraints". All programs are written in Matlab, and you can also find the implementation of the method of Tsang and Kwok ("Distance Metric Learning with Kernels" in Int. Conf. on Artificial Neural Networks). We revised the codes such that the resulting distance matrix is always positive semi-definite (The authors claim that the resulting distance matrix is positive semi-definite in their paper, but this is incorrect).
If you find a bug, please send an email to email@example.com