Session Ready
Exercise

Topics without seedwords

You are given LDA model mod fitted on the corpus of named entities, for k=3. Each document corresponds to one named entity. Your task will be to determine which topic corresponds to names, and which - to geographic entities.

Instructions
100 XP
  • Using tidy, convert matrix gamma to tidy table.
  • Convert the table from tidy to wide format.
  • Display the rows in which column document matches entities " Adrianople", " Emperor Heraclius", " Daniel", " Africa", and " African".