Session Ready
Exercise

Fitting one model

With the document-term matrix in hand, your task now is to fit a topic model and examine its log-likelihood and perplexity.

Instructions
100 XP
  • Create a LDA model. Set k=3 and method="Gibbs". Do not modify the control argument.
  • Retrieve the log-likelihood of the model.
  • Find perplexity for the dataset.