Discussion:
silhouette score sample_size issue
(too old to reply)
JAGANADH G
2016-05-03 18:42:33 UTC
Permalink
Hi team,
I was trying to cluster a sparse matrix
<589169x8232488 sparse matrix of type '<type 'numpy.int64'>'
with 27313627 stored elements in COOrdinate format>

After clustering with KMeans I was trying to get the gap statistics.
When I try to set the sample_size it says that slicing with index is not
possible.
Any clue how to resolve this issue?
--
**********************************
JAGANADH G
http://jaganadhg.in
*ILUGCBE*
http://ilugcbe.org.in
Maniteja Nandana
2016-05-03 18:50:20 UTC
Permalink
Hi,

I am not an expert here but any small reproducible code to get the error
would really help to understand the issue.

Thanks,
Maniteja.

Loading...