Skip to content

Instantly share code, notes, and snippets.

View siva2k16's full-sized avatar
💭
Emprical Learner

siva2k16

💭
Emprical Learner
View GitHub Profile
@siva2k16
siva2k16 / mmds-q2a.R
Created November 7, 2016 10:14 — forked from primaryobjects/mmds-q2a.R
Mining Massive Datasets Quiz 2a: LSH (Basic)
#
# Quiz 2a
#
#
# Q1
# The edit distance is the minimum number of character insertions and character deletions required to turn one string into another. Compute the edit distance between each pair of the strings he, she, his, and hers. Then, identify which of the following is a true statement about the number of pairs at a certain edit distance.
#
packages <- c('combinat', 'stringdist')