Assessing the performance of a clustering method