เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

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.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Text Mining with Bag-of-Words in R

ดูคอร์ส

คำแนะนำการฝึกหัด

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

Create a dendrogram using plot() on hc.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Plot a dendrogram
___
แก้ไขและรันโค้ด