{'fraction_non_alphanumeric': 0.035161744022503515, 'fraction_numerical': 0.004219409282700422, 'mean_word_length': 5.191304347826087, '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}}
A Gibbs Sampler for Spatial Clustering with the Distance-dependent Chinese Restaurant Process

The distance-dependent Chinese Restaurant Process (dd-CRP) is a flexible class of distributions over partitions which was recently introduced by [1, 2]. In their description and experiments Blei and Frazier focus on the sequential setting such as clustering over time. Their Gibbs sampler, while general in nature, does not explicitly handle the case of non-sequential (also called spatial) clustering. In this case further details are needed for a correct implementation. We introduce the Gibbs sampler for spatial clustering with the dd-CRP. For simplicity, we focus on infinite Gaussian mixture models (IGMM) [9].