LDAvis
LDAvis copied to clipboard
No terms on Top-30 Most Relevant Terms for Topic X
When I try to run the LDAvis as described in the tutorial, the axis that is supposed to display the terms in the 30-Most Salient Terms (y-axis) only displays a number followed by a comma (3, 1, etc.). What could this be the result of?
Thanks!
You might simply have numbers (followed by commas) in your vocabulary. Did you use regular expressions, or something like that, to clean your data and tokenize your corpus? If numbers appear in your raw data, and you didn't remove them, then they will appear as words in the topic model. (For some analyses, this is quite interesting, as numbers often co-occur as a topic!) But if the top-30 terms for every topic are all numbers, then something is wacky.
Thank you for your fast reply! All of my top 30 terms for each topic are numbers followed by a comma. I'm curious now if it has something to do with the vocabulary, as when I ran the "Movie Review" data, it appeared as normal (words on the axis instead of text). However, the numbers still don't make sense for my data, since I'm mainly looking at text with very few numbers. I'll keep investigating!