Adaptive K-Means Clustering