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

Tidying LDA output

We've loaded the LDA output lda_out from the previous exercise. While there are a number of things of interest in the output, the topics themselves are of general interest. Let's extract these values.

Bu egzersiz

Introduction to Text Analysis in R

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

Egzersiz talimatları

  • Print a summary of the topic model output using glimpse().
  • Tidy the matrix of word probabilities.
  • Arrange the topics by word probabilities in descending order.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Glimpse the topic model output
___(___)

# Tidy the matrix of word probabilities
lda_topics <- ___ %>% 
  ___(__)

# Arrange the topics by word probabilities in descending order
___ %>% 
  ___(___)
Kodu Düzenle ve Çalıştır