Session Ready
Exercise

Sparse matrices

During the video lesson you learned about sparse matrices. Sparse matrices can become computational nightmares as the number of text documents and the number of unique words grow. Creating word representations with tweets can easily create sparse matrices because emojis, slang, acronyms, and other forms of language are used.

In this exercise you will walk through the steps to calculate how sparse the Russian tweet dataset is. Note that this is a small example of how quickly text analysis can become a major computational problem.

Instructions 1/4
undefined XP
  • 1
  • 2
  • 3
  • 4
  • Use tokenization remove stop-words to find the total number of unique words in the dataset.