recommendation engine - Good similarity measure for comparing users -
i want compare users based on responses 10 questions. original idea resolve each question integer [1, 5], idea won't work time. example:
vec1 = [1,1,1,1,1,1,1,1,1,1]
vec2 = [5,5,5,5,5,5,5,5,5,5]
get_cos_sim(vec1, vec2) = 1
so though users responded dissimilarly, vectors same.
i similar users based on similarity of responses each question. given question, if person a's response resolved 1 , person b's response resolved 2, similarity between responses in questions higher person a's , person c's response, answered 4.
here's metric use:
take absolute value of difference between each answer, sum of values, similarity inverse.
Comments
Post a Comment