Infinite Bernoulli mixture

Nonparametric Bayesian clustering of binary data.


Updated 9 Oct 2013

View License

Uses Gibbs sampling to approximate the posterior of a Dirichlet process mixture of Bernoullis. Also samples the concentration parameter which controls the number of clusters.

Cite As

Sam Gershman (2023). Infinite Bernoulli mixture (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Changed output to provide all samples.

Fixed a typo in the help notes.