You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like for vecs[3] (which is a singleton cluster) produces a score of 0 while vecs[4] produces a score of 1. Is this the expected behavior? Another example:
Expected behavior
I believe example one should return: [0.5, 0. , 0. , 0. ] and example two should return: [0.9, 0.888888888888889, 0.0]. It looks like sklearn assigns singleton clusters a score of 0 where as matlab assigns singleton clusters a score of 1 but still not sure if that explains either example.
Describe the bug
It appears that the calculation for the Silhouette scoring is inconsistent especially with singleton clusters. See below:
Steps/Code to reproduce bug
It looks like for vecs[3] (which is a singleton cluster) produces a score of 0 while vecs[4] produces a score of 1. Is this the expected behavior? Another example:
Expected behavior
I believe example one should return:
[0.5, 0. , 0. , 0. ]
and example two should return:[0.9, 0.888888888888889, 0.0]
. It looks like sklearn assigns singleton clusters a score of 0 where as matlab assigns singleton clusters a score of 1 but still not sure if that explains either example.Environment details:
conda install -c rapidsai-nightly -c nvidia -c conda-forge -c defaults rapids=0.19 python=3.7 cudatoolkit=10.2
The text was updated successfully, but these errors were encountered: