A Theory of Similarity Functions for Learning and Clustering - Maria-Florina Balcan