{'fraction_non_alphanumeric': 0.017857142857142856, 'fraction_numerical': 0.0, 'mean_word_length': 5.28, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Visual heuristics for data clustering

We are concerned with finding clusters in data by reordering the proximity matrix as close as possible into block diagonal form. We also define a new proximity measure for variables with word values that can be semantically consistent with our knowledge in the field in question. Moreover, we unify various measures of blockness into the form of a quadratic programming problem. We propose two new algorithms to reorder proximity matrices: MST linearization (MLin) and dendrogram linearization (DLin). Their performance is compared against four other popular algorithms by running numerous data sets, real and artificial. We find that MLin is competitive and complementary with the furthest neighbor, which is among the best existing algorithms.