forcedotcom / distributions

Low-level primitives for collapsed Gibbs sampling in python and C++
BSD 3-Clause "New" or "Revised" License
33 stars 25 forks source link

Mixture driver #37

Closed fritzo closed 10 years ago

fritzo commented 10 years ago

This factors out a generic MixtureDriver from PitmanYor.

New clustering models should be able to simply use the pattern

class MyClusteringModel
{
    typedef MixtureDriver<MyClusteringModel> Mixture;
};

see also https://github.com/priorknowledge/loom/pull/3