dirichlet

Is there an R package for learning a Dirichlet prior from counts data

I'm looking for a an R package which can be used to train a Dirichlet prior from counts data. I'm asking for a colleague who's using R, and don't use it myself, so I'm not too sure how to look for packages. It's a bit hard to search for, because "R" is such a nonspecific search string. There doesn't seem to be anything on CRAN, but ar...

Document similarity

Hi All, I used tf/idf to calculate consine similarity between two documents. It has some limitation and does not perform very well. I looked for LDA (latent dirichlet allocation) to calculate document similarity. I don't know much about this. I couldn't find much stuff too about my problem. Can you please provide me any tutorial relate...

Mass Point, Dirac Delta in Dirichlet Processes

When dealing with Dirichlet Processes, according to [Teh, 2007], a DP is defined as by a base Probability H and a scale factor "alpha" According to the Stick Breaking Construction, the random draws G from a DP: G~DP(alpha,H) are given by: G=sum(pi_k*delta_theta_k) over k from 1 to infinity pi_k are ordered draws from a Beta Distribu...