Question: (4) Suppose we use 80 hash functions to generate 80 rows in total for the signature matrix. For locality-sensitive hashing, if we split the

 (4) Suppose we use 80 hash functions to generate 80 rows in total for the signature matrix. For 


Element S1 0 1 1 1 2 3 4 5 6 0 0 1 0 1 S2 0 1 0 1 1 0 1 S3 0 1 1 1 0 1 1 S4 1 0 1 0 1 0 1 (1) Compute the

(4) Suppose we use 80 hash functions to generate 80 rows in total for the signature matrix. For locality-sensitive hashing, if we split the signature matrix into 20 bands, say if columns S and S, have a similarity of 70%, what is the probability that S and S, are hashed to at least 1 common bucket? If we set the similarity threshold s = 0.7, what is the probability that S4 and S5 being similar pairs are false negatives? Element S1 0 1 1 1 2 3 4 5 6 0 0 1 0 1 S2 0 1 0 1 1 0 1 S3 0 1 1 1 0 1 1 S4 1 0 1 0 1 0 1 (1) Compute the permutations of indices of elements using the following three hash functions respectively i. h(x) = (3x + 1) mod 7 ii. h(x) = (5x + 3) mod 7 iii. h3(x) = (6x + 2) mod 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Element S1 h10 30 1 mod 7 1 h11 31 1 mod 7 4 h12 32 1 mod 7 0 h13 33 1 mod 7 3 h14 34 1 mod 7 6 h15 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!