1. เรียนรู้
  2. /
  3. Courses
  4. /
  5. Introduction to Text Analysis in R

Connected

Exercises

Visualizing topics

Using what we've covered in previous chapters, let's visualize the topics produced by the LDA.

คำแนะนำ

100 XP
  • Keep the top 10 highest word probabilities by topic.
  • Create term2, a factor ordering term by word probability.
  • Plot term2 and the word probabilities.
  • Facet the bar plot by (i.e., ~) topic.