Let X be a finite set whose elements must be classified in accordance with a certain dissimilarity criterion. A naive idea often expressed requires that in a good classification the elements belonging to the same class to have a higher degree of similarity than the elements belonging to different classes. The purpose of this paper is to point out how this idea can be integrated into a rigorous mathematical framework.