https://machinelearningmastery.com/distance-measures-for-machine-learning/