metric learning based on LMNN