Session Ready
Exercise

Same k, different alpha

You are given a document-term matrix dtm describing the five-sentence corpus of two topics. You will re-run the LDA algorithm, changing the value of alpha, and compare the outcomes.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Experiment with fitting a topic model and clicking Run Code for the following values of alpha: 0.5, 1, 2, and NULL.
  • When you are done, click Submit Answer with alpha equal to NULL.