Kom igångKom igång gratis

Teaser: simple word clustering

In the next chapter, we cover some miscellaneous (yet very important) text mining subjects including:

  • TDM/DTM weighting
  • Dealing with TDM/DTM sparsity
  • Capturing metadata
  • Simple word clustering for topics
  • Analysis on more than one word

For now, let's simply create a new visual called a dendrogram from our coffee_tweets. The next chapter will explain it in detail.

Den här övningen är en del av kursen

Text Mining with Bag-of-Words in R

Visa kurs

Övningsinstruktioner

A hierarchical cluster object, hc, has been created for you from the coffee tweets.

Create a dendrogram using plot() on hc.

Interaktiv övning med praktiskt arbete

Testa den här övningen genom att slutföra den här exempelkoden.

# Plot a dendrogram
___
Redigera och kör kod