Categories of clustering algorithms