Bayesian-inference-cpp Pattern recognition by stochastic generative model. The model was implemented in C++, and the graph drawing was implemented in Python.