https://medium.com/@monocosmo77/how-pairwise-comparisons-is-used-in-machine-learning-part5-51052896d023