I am trying to read Latent Dirichlet Allocation model for Topic modeling. But I am not able to understand how they sample values from a distribution, draw a distribution from a process. In particular drawing from Dirichlet distribution /process process. I want to understand all these sampling using MatlabMATLAB /R R. Please suggest some book/references where I can read the theory part as well as implementation using MatlabMATLAB /R R. I have very basic knowledge of probability /statistics statistics.
I want to learn from the basics of sampling and its implementation then move to LDA topic modeling .
thanks