Week 5 Flashcards
Is the input to every reducer sorted?
yes
What is the Jaccard coeffecient measuring

what does a higher jaccard similarity mean
higher fraction of data is shared between P and Q


what is a simple deffeciency of jaccard similarity

in cosine similarity, what are v and w


how do you measure the weight of a token
term frequency - inverse document frequency. (tf-idf)
term freqency equation


1


what 2 things can cause the tf-idf to go up for a word
increases in the num of occurances within a document
if the word is more rare in the collection of documents


what is a safe n number for n grams in research
n=9
What is an appliaction of near neighbor search

what is a minhash of a set

jaccard similarity of two sets in english
the size of their intersection divided by the size of their union
how is minhash related to jaccard similarity
the prob(over all permutations of the rows) that h(c1) = h(c2) is the same as jaccard_sim(c1,c2)