tianlin's personal c++ helpers
parse input document arries for training
convert array into data samples
GibbsMedLDA train based on incoming local mini-batch
fix bugs and pass training with incoming mini-batches
add inference on incoming batch
last commit before testing on ml-thu