Hi Guys

 

I’m running k-Means driver, I find most (95%)
of my input vectors is built into one cluster, so I retrieved the big Cluster
object and one of its point that belong to it, use CosineDistanceMeasure to 
calculate
the distance between them, I found the distance is “NaN”, so I tried to debug,
and found the center point vector of the Cluster object contains some 
“-Infinity”
values, so when the measure method is called, the AbstractVector.dot will
return “Infinity”, so I don’t know if this is the reason that caused most of my
input vectors belong to one big cluster? And why there are “-Infinity” values
in the center point? Thanks in advance. BTW, i'm suing Mahout 0.6 release.

 

Cheers

Ramon

                                          

Reply via email to