https://medium.com/@monocosmo77/how-pairwise-comparisons-is-used-in-machine-learning-part6-d5d79ba36bb8