/bmm

A cluster algorithm for binary vectors.

Primary LanguagePython

A cluster algorithm for binary vectors

This library implements a EM algorithm for a mixutre model of independent Bernoullis as described in David Barber's book "Bayesian Reasoning and Machine Learning" (online version, slides for a brief summary).

You can use this algorithm to cluster binary vectors. One application is clustering questionnaires / quizzes. See examples/basic.ipynb for an informal description.