CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Text Mining with Bag-of-Words in R

Afficher le cours

Instructions

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

Create a dendrogram using plot() on hc.

Exercice interactif pratique

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

# Plot a dendrogram
___
Modifier et exécuter le code