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

Printing topics in supervised LDA #5

Open
souravsingh opened this issue Dec 26, 2017 · 1 comment
Open

Printing topics in supervised LDA #5

souravsingh opened this issue Dec 26, 2017 · 1 comment

Comments

@souravsingh
Copy link

souravsingh commented Dec 26, 2017

Hello @burbma ,

I am working with Pang review dataset to understand the working of sLDA. I am curious about how to print the inferred topics after fitting.

@bearnshaw
Copy link
Contributor

After training, your class has two matrices, theta (the document-topic distributions) and phi (the topic-term distributions). So print out phi. If you really want to visualize your topics, use @bmabey's pyLDAvis project.

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