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.

The discussion has now moved to this issue:

https://github.com/scikit-learn/scikit-learn/issues/960

And this pull request:

https://github.com/scikit-learn/scikit-learn/pull/962


-- 
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