Crandore Hub

mixdir

Cluster High Dimensional Categorical Datasets

Scalable Bayesian clustering of categorical datasets. The package implements a hierarchical Dirichlet (Process) mixture of multinomial distributions. It is thus a probabilistic latent class model (LCM) and can be used to reduce the dimensionality of hierarchical data and cluster individuals into latent classes. It can automatically infer an appropriate number of latent classes or find k classes, as defined by the user. The model is based on a paper by Dunson and Xing (2009) <doi:10.1198/jasa.2009.tm08439>, but implements a scalable variational inference algorithm so that it is applicable to large datasets. It is described and tested in the accompanying paper by Ahlmann-Eltze and Yau (2018) <doi:10.1109/DSAA.2018.00068>.

Versions across snapshots

VersionRepositoryFileSize
0.3.0 rolling linux/jammy R-4.5 mixdir_0.3.0.tar.gz 177.0 KiB
0.3.0 rolling linux/noble R-4.5 mixdir_0.3.0.tar.gz 178.1 KiB
0.3.0 rolling source/ R- mixdir_0.3.0.tar.gz 227.4 KiB
0.3.0 latest linux/jammy R-4.5 mixdir_0.3.0.tar.gz 177.0 KiB
0.3.0 latest linux/noble R-4.5 mixdir_0.3.0.tar.gz 178.1 KiB
0.3.0 latest source/ R- mixdir_0.3.0.tar.gz 227.4 KiB
0.3.0 2026-04-26 source/ R- mixdir_0.3.0.tar.gz 227.4 KiB
0.3.0 2026-04-23 source/ R- mixdir_0.3.0.tar.gz 227.4 KiB
0.3.0 2026-04-09 windows/windows R-4.5 mixdir_0.3.0.zip 499.8 KiB
0.3.0 2025-04-20 source/ R- mixdir_0.3.0.tar.gz 227.4 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests