tf-idf weight of commonly occurring words
The word bottle
occurs 5 times in a particular document D
and also occurs in every document of the corpus. What is the tf-idf weight of bottle
in D
?
This exercise is part of the course
Feature Engineering for NLP in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
