Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you calculate the relevance of a document to each topic? Where is the code modified? #9

Open
helloLiuLina opened this issue Nov 1, 2018 · 1 comment

Comments

@helloLiuLina
Copy link

Please forgive if this is a stupid question as I'm new to topic modeling, coding, and DTM. I am a student from China and I want to get the probability that each document belongs to the topic. How can I get it ? Hope you can help me, thank you very much!!!!!!!

@pstroe
Copy link

pstroe commented Jul 5, 2019

hi there,

Non-negative Matrix Factorisation (NMF) is not a probabilistic method, but rather a "brute force" algorithm which decomposes a term-document matrix in a term-topic matrix and a topic-document matrix. the topic-document matrix then contains membership weights of topics present in a document.

hope this helps.

p.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants