Skip to content

Instantly share code, notes, and snippets.

@bthirion
bthirion / README.rst
Created December 30, 2011 11:10 — forked from jakevdp/README.rst
GMM BIC/AIC test

This includes a test of the new GMM routines in https://github.com/bthirion/scikit-learn/tree/gmm-fixes

By changing the line

GMM = mixture.GMM

at the top of the file, we can plot the BIC and AIC for each variant of GMM. Standard GMM works beautifully: it settles in on 3 components, which are a good description of the data. DPGMM and VBGMM produce some unexpected results.