Similarity Learning (positive definite) research project (MATLAB)