November 2017
Beginner to intermediate
366 pages
7h 59m
English
Having created our similarity matrix, we can leverage that matrix to find a match for any given document. Let's see how to leverage this matrix to perform the search function in this section.
Once again, the block diagram of step 2 is presented as follows:

We will be using the sim.score created in the previous step to perform the search.
Let's say we want to find similar articles to article 38081:
> match.docs <- sim.score["38081",]> match.docs 38081 306465 371436 410152 180407 311113 263442 171310 116144 70584 1.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.1428571 0.1543033 228128 128325 263795 ...
Read now
Unlock full access