Solution to an L4-TP SELF-PACED COURSE exercise. Create a bag of words of a document. Calculate document frequencies (DF), term frequencies (TF), inverse document frequencies (IDF), and TF-IDF scores.
CHECK YOUR ANSWERS:
- The word "text" occurs in the agenda of the L4-TP course 4 times and therefore most often
- 28 words occur in both agendas
- The words with the highest TF-IDF scores are time (0.038), series (0.038), and text (0.025)
CHECK YOUR ANSWERS:
- The word "text" occurs in the agenda of the L4-TP course 4 times and therefore most often
- 28 words occur in both agendas
- The words with the highest TF-IDF scores are time (0.038), series (0.038), and text (0.025)