ktw5691 / psychtm

Text Mining for Psychological Research
Other
9 stars 1 forks source link

Add support for 1-topic model? #19

Closed ktw5691 closed 4 years ago

ktw5691 commented 5 years ago

For LDA, this would be equivalent to a model with one V-dimensional vector of word-topic probabilities (\beta) governing word probabilities: f(\beta | w) \propto f(w | \beta) f(\beta | \gamma)

For SLDA, we would have an intercept-only model for y: y_d ~ N(\eta_0, \sigma^2)

For SLDAX, we would have y_d ~ N(\eta_0 + x_d' \eta_x, \sigma^2)