CommencerCommencer gratuitement

Topics as word probabilities

lda_topics contains the topics output from an LDA run on the Twitter data. Remember that each topic is a collection of word probabilities for all of the unique words used in the corpus. In this case, each tweet is its own document and the beta column contains the word probabilities.

Cet exercice fait partie du cours

Introduction to Text Analysis in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Print the output from LDA run
___
Modifier et exécuter le code