A Local Learning Approach for Clustering