daveesterman / thesis

0 stars 0 forks source link

divide by 0 for EuclidianDistance #7

Closed daveesterman closed 11 years ago

daveesterman commented 11 years ago

Potential to divide by 0 in Filter.getNormalizedWeightedScore

daveesterman commented 11 years ago

Euclidian distance score should not be rescaled to [-1,1]. This does not have the same meaning as the range [-1, 1] when returned as Pearson correlation coefficient. With Pearson, negative correlation means "as x increases, y certainly decreases". with Euclidian, negative score mean "points are relatively far apart".

daveesterman commented 11 years ago

The range returned by Euclidian distance is now (0,1].