libcluster
libcluster copied to clipboard
An extensible C++ library of Hierarchical Bayesian clustering algorithms, such as Bayesian Gaussian mixture models, variational Dirichlet processes, Gaussian latent Dirichlet allocation and more.
``` To solve the libclusterpy.dylib vs libclusterpy.so issue I found this code snippet which I included in the CMakeLists.txt just after 'library build instructions'. if(APPLE) set(CMAKE_SHARED_LIBRARY_SUFFIX ".so") endif(APPLE) This forced...
`Boost.Python` is hard to maintain, understand, and its hard to get working with numpy. Its probably worth replacing with `pybind11`: https://github.com/wjakob/pybind11
I.e. remove all of the "helper" wrappers and just expose the `cluster`, `scluster` and `mcluster` functions directly. Use pybind11 to expose the relevant distribution object in python too.
At the moment only the 'grouped' mixtures and more hierarchical algorithms are parallelised in an efficient manner.