July 2017
Beginner to intermediate
486 pages
13h 49m
English
We will try to generate the TF-IDF model using a small Shakespeare dataset. For a new given document with a TF-IDF score model, we will suggest the top three keywords for the document. You can see the code snippet in Figure 5.61:

You can see the output in Figure 5.62:
Now it's time to see where we can use this TF-IDF concept, so let's look at some applications.
Read now
Unlock full access