Dynamic metric learning from pairwise comparisons
the elements of statistical learning : data mining , inference , and prediction , 2nd edition .