Simultaneous Ground Metric Learning and Matrix Factorization with Earth Mover’s Distance