salso: Search Algorithms and Loss Functions for Bayesian Clustering

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) <doi:10.1080/10618600.2022.2069779>.

Version: 0.3.35
Depends: R (≥ 4.2.0)
Published: 2023-07-17
DOI: 10.32614/CRAN.package.salso
Author: David B. Dahl ORCID iD [aut, cre], Devin J. Johnson ORCID iD [aut], Peter Müller [aut], Alex Crichton [cph] (Rust crates: proc-macro2, cfg-if.), "bluss" Ulrik Sverdrup [cph] (Rust crate: rawpointer, matrixmultiply, scopeguard, ndarray.), Brendan Zabarauskas [cph] (Rust crate: approx.), David B. Dahl [cph] (Rust crates: roxido, roxido_macro, dahl-partition, dahl-salso, dahl-bellnumber.), David Tolnay [cph] (Rust crates: syn, proc-macro2, quote, unicode-ident.), DutchGhost [cph] (Rust crate: matrixmultiply.), Enthought, Inc. [cph] (Rust crate: ndarray.), Gilad Naaman [cph] (Rust crate: memoffset.), Jim Turner [cph] (Rust crate: ndarray.), Josh Stone [cph] (Rust crate: autocfg.), Melissa O'Neill [cph] (Rust crate: rand_pcg.), Paul Dicker [cph] (Rust crate: rand_pcg.), PCG Project contributors [cph] (Rust crate: rand_pcg.), Ralf Jung [cph] (Rust crate: memoffset.), rawpointer developers [cph] (Rust crate: rawpointer.), R. Janis Goldschmidt [cph] (Rust crate: matrixmultiply.), SciPy Developers [cph] (Rust crate: ndarray.), Sean McArthur [cph] (Rust crate: num_cpus.), Stefan Lankes [cph] (Rust crate: hermit-abi.), The Cranelift Project Developers [cph] (Rust crate: wasi.), The Crossbeam Project Developers [cph] (Rust crates: crossbeam, crossbeam-channel, crossbeam-deque, crossbeam-epoch, crossbeam-queue, crossbeam-utils.), The CryptoCorrosion Contributors [cph] (Rust crates: ppv-lite86, rand_chacha.), The Go Authors [cph] (Rust crate: crossbeam-channel.), The PCG Project Contributors [cph] (Rust crate: rand_pcg.), The matrixmultiply Authors [cph] (Rust crate: matrixmultiply.), The ndarray Developers [cph] (Rust crate: ndarray.), The Rand Project Developers [cph] (Rust crates: rand_core, rand_chacha, rand_pcg, rand, getrandom.), The Rust Project Developers [cph] (Rust crates: crossbmean-channel, rand_chacha, num-integer, rand_core, num-complex, libc, num-traits, rand.), The scopeguard Developers [cph] (Rust crates: scopeguard.), Unicode, Inc. [cph] (Rust crate: unicode-ident.)
salso author details
Maintainer: David B. Dahl <dahl at>
License: MIT + file LICENSE | Apache License 2.0
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.65)
CRAN checks: salso results


Reference manual: salso.pdf


Package source: salso_0.3.35.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): salso_0.3.35.tgz, r-oldrel (arm64): salso_0.3.35.tgz, r-release (x86_64): salso_0.3.35.tgz, r-oldrel (x86_64): salso_0.3.35.tgz
Old sources: salso archive

Reverse dependencies:

Reverse imports: AntMAN, batchmix, intRinsic, SANple
Reverse suggests: caviarpd


Please use the canonical form to link to this page.