Learn R Programming

salso (version 0.3.79)

Search Algorithms and Loss Functions for Bayesian Clustering

Description

The SALSO algorithm is an efficient randomized greedy search method to find a point estimate for a random partition based on a loss function and posterior Monte Carlo samples. The algorithm is implemented for many loss functions, including the Binder loss and a generalization of the variation of information loss, both of which allow for unequal weights on the two types of clustering mistakes. Efficient implementations are also provided for Monte Carlo estimation of the posterior expected loss of a given clustering estimate. See Dahl, Johnson, Müller (2022) .

Copy Link

Version

Install

install.packages('salso')

Monthly Downloads

544

Version

0.3.79

License

MIT + file LICENSE | Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

David B Dahl

Last Published

September 24th, 2026

Functions in salso (0.3.79)

plot.salso.summary

Heatmap, Multidimensional Scaling, Pairs, and Dendrogram Plotting for Partition Estimation
psm

Compute an Adjacency or Pairwise Similarity Matrix
chips

CHIPS Partition Greedy Search
partition.loss

Compute Partition Loss or the Expectation of Partition Loss
bell

Compute the Bell Number
enumerate.partitions

Enumerate Partitions of a Set
dlso

Latent Structure Optimization Based on Draws
canonicalize_cluster_labels

Canonicalize Cluster Labels
enumerate.permutations

Enumerate Permutations of Items
iris.clusterings

Clusterings of the Iris Data
salso

SALSO Greedy Search
summary.salso.estimate

Summary of Partitions Estimated Using Posterior Expected Loss
threshold

Threshold CHIPS Output
salso-package

salso: Search Algorithms and Loss Functions for Bayesian Clustering
synthetic

Synthetic Dataset for CHIPS Demo