Basic Principles of Clustering Methods