Check out AbstractCluster.formatVector(). If the vector is sparse or if bindings are present it uses the index:value notation, else it uses the more compact notation.
-----Original Message----- From: Grant Ingersoll [mailto:[email protected]] Sent: Friday, November 11, 2011 7:22 AM To: [email protected] Subject: Re: incosistent output while using clusterdumper Can you share what commands you are running? On Nov 11, 2011, at 6:20 AM, gaurav redkar wrote: > Hello > > After using clusterdumper on the output generated by meanshift algorithm, i > see following type of result. > > MSV-441 {n=2 c=[0.003, -0.002,0.005,0.001,....etc > MSV-770{n=1 c=[0:-0.025,1:0.011,2:0.032,......etc > > As seen above in MSV-441 there is no presence of ":" in the output whereas > MSV-770 has ):-0.025. > Can anyone throw some light as to what is the difference and why is it > present there..?? > > Thanks. -------------------------------------------- Grant Ingersoll http://www.lucidimagination.com
