BaşlayınÜcretsiz Başlayın

Summarizing topics

Let's explore some of the implied features of the LDA output using some grouped summaries.

Bu egzersiz

Introduction to Text Analysis in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Produce a grouped summary of the LDA output by topic.
  • Calculate the sum of the word probabilities.
  • Count the number of terms.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# 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 = ___()
  )
Kodu Düzenle ve Çalıştır