https://123dok.net/document/q5mpm757-metric-learning-approach-for-graph-based-label-propagation.html