Summarizing topics
Let's explore some of the implied features of the LDA output using some grouped summaries.
Cet exercice fait partie du cours
Introduction to Text Analysis in R
Instructions
- Produce a grouped summary of the LDA output by topic.
- Calculate the sum of the word probabilities.
- Count the number of terms.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Produce a grouped summary of the LDA output by topic
lda_topics %>%
___(___) %>%
summarize(
# Calculate the sum of the word probabilities
sum = ___(___),
# Count the number of terms
n = ___()
)