gregversteeg / corex_topic

Hierarchical unsupervised and semi-supervised topic models for sparse count data with CorEx
Apache License 2.0
626 stars 119 forks source link

"starred_words" variable not found in notebook #13

Closed emorisse closed 6 years ago

emorisse commented 6 years ago

Hey all! I'm looking at the notebook you provided (thank you!), and in one of the code sections (second under Hierarchical Topic Models), there's a call with an undefined variable: starred_words.

vt.vis_hierarchy([topic_model, tm_layer2, tm_layer3], column_label=starred_words, max_edges=200, prefix='topic-model-example')

ryanjgallagher commented 6 years ago

Hi @emorisse, thanks for finding this typo. It should have been words instead of starred_words. I just pushed a change to the notebook that should fix this.

If there are any other problems with visualizing the hierarchical topic model, or anything else, please let us know!

emorisse commented 6 years ago

Thank you!