2012/7/17 Rafael Almeida <[email protected]>:
> Hello,
>
> I'm experimenting with k-means clustering. When using certain values for k,
> silhouette score returns NaN. Is that a bug or is that how it's supposed to
> work? What does it mean? If it is not a bug, I think the function should
> return something more meaningful when it fails.

I think it's a bug. Can you please push a minimalistic, self-contained
reproduction script on a gist and link to it from a new github issue?

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to