Skip to content
Snippets Groups Projects
Commit 3266f54a authored by Wen Yao Jin's avatar Wen Yao Jin
Browse files

Update BDPA_Assign2_WJIN.md

parent a9001215
Branches master
No related tags found
No related merge requests found
......@@ -250,6 +250,7 @@ To avoid redundant parses of the input file, some intuition is needed. In this a
* The two instances are exactly the two documents that we need to compare for each key. Calculate similarity and emit key pairs that are similar.
Following code can be found [here](src/similarity/NaiveApproach.java).
**Mapper:**
```java
@Override
......@@ -346,6 +347,7 @@ In this part, the implementation is more trivial:
* At reduce phase, for each key, compute similarity if severals document id are represented. Since the words are sorted by frequency, ideally there will be much less comparaison needed
Following code can be found [here](src/similarity/PrefilteringApproach.java).
**Mapper:**
```java
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment