adjidieng / ETM

Topic Modeling in Embedding Spaces
MIT License
540 stars 127 forks source link

How to get the topic vector? #19

Open 460176980 opened 4 years ago

460176980 commented 4 years ago

I don’t seem to find the output method of the theme vector in the code, or I need to modify the code to get the theme vector。Does anyone know how to achieve this?

ydennisy commented 4 years ago

I have this same issue https://github.com/adjidieng/ETM/issues/4 also people are asking the same.

@gokceneraslan @adjidieng any chance you could help out?

njuljw76 commented 3 years ago

I have the same question! thanks!

adjidieng commented 3 years ago

You get the topic proportions by calling get_theta().

On Thu, Dec 10, 2020 at 10:47 AM Mona notifications@github.com wrote:

I have only really worked with the D-ETM (not the ETM, but similar) and also had to find a way to extract the topic vectors and topic proportions. I'd recommend to actually read the paper and really understand the model as that helped me. However, you should be able to extract the vectors by calling model.get_beta() I guess

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/adjidieng/ETM/issues/19#issuecomment-742604185, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHAL2N5CX6E62MSXEOTALTSUDUPRANCNFSM4PHJUJLQ .