Hi All  I'm reading the code of SquaredEuclideanDistanceMeasure, the 
"distance(double centroidLengthSquare, Vector centroid, Vector v)" method 
confused me a lot, i don't know why we choose this expression 
"centroidLengthSquare - 2 * v.dot(centroid) + v.getLengthSquared()" to 
calculate the distance? What is the best case to use this Measure? BTW,  I 
think it would be great if we can have a wiki or some detail user guide or more 
comments in the source code to explain each distance measure implementation, 
that will really help, thanks guys.   Cheers  Ramon                             
              

Reply via email to