pattern_clustering