## shallot

swMATH ID: | 26314 |

Software Authors: | David B. Dahl; Ryan Day; Jerry W. Tsai |

Description: | Random Partition Distribution Indexed by Pairwise Information. We propose a random partition distribution indexed by pairwise similarity information such that partitions compatible with the similarities are given more probability. The use of pairwise similarities, in the form of distances, is common in some clustering algorithms (e.g., hierarchical clustering), but we show how to use this type of information to define a prior partition distribution for flexible Bayesian modeling. A defining feature of the distribution is that it allocates probability among partitions within a given number of subsets, but it does not shift probability among sets of partitions with different numbers of subsets. Our distribution places more probability on partitions that group similar items yet keeps the total probability of partitions with a given number of subsets constant. The distribution of the number of subsets (and its moments) is available in closed-form and is not a function of the similarities. Our formulation has an explicit probability mass function (with a tractable normalizing constant) so the full suite of MCMC methods may be used for posterior inference. We compare our distribution with several existing partition distributions, showing that our formulation has attractive properties. We provide three demonstrations to highlight the features and relative performance of our distribution. |

Homepage: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5736154/ |

Source Code: | https://github.com/dbdahl/shallot |

Related Software: | R; bamboo; rscala; CRAN; MLlib; SparkR; sparklyr; sdols; Rserve; RCaller; Rcpp; rJava; Scala; Spark; Breeze; ordinalClust; ordinalForest; lmmot; glmnetcr; toOrdinal |

Cited in: | 9 Publications |

all
top 5

### Cited by 48 Authors

all
top 5

### Cited in 8 Serials

### Cited in 3 Fields

9 | Statistics (62-XX) |

1 | Probability theory and stochastic processes (60-XX) |

1 | Numerical analysis (65-XX) |