koheiw / seededlda

LDA for semisupervised topic modeling
https://koheiw.github.io/seededlda/
73 stars 16 forks source link

Probabilities for topics #22

Closed sonamgupta1105 closed 3 years ago

sonamgupta1105 commented 3 years ago

I am using seededLDA and I am trying to obtain probabilities like how we can get the gamma values from traditional LDA. Is there any way to do the same for seededLDA package or some workaround maybe? @koheiw I am trying to use the topic model results and fit a logistic regression model.

koheiw commented 3 years ago

For both seeded LDA and regular LDA, theta is the probabilities of documents for topics., so you only just to access lda$theta where lad is the fitted model.