/bnp

C++ code and Python wrappers for Inference on Bayesian Non-Parametric Models

Primary LanguageC++MIT LicenseMIT

This repository contains
- C++ code for Inference in a Hierarchical Dirichlet Process Model
- Python code in python/ folder (need to do $ make install before python scripts are usable)
- Code for testing some of the functions

Requirements:
- Boost.Random (tested with version 1.46) http://www.boost.org/doc/libs/1_52_0/doc/html/boost_random.html
- Armadillo (tested with version 3.4.4) http://arma.sourceforge.net/

Install:
- edit the CMakeLists.txt to point cmake to the boost and armadillo libraries.
- mkdir build; cd build
- cmake ..; make install