Do all roads lead to Rome? Studying distance measures in the context of machine learning