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
I might be getting this wrong, but the code here seems to be using initialization function from sklearn. This could cause issue since the kmeans++ initialization in sklearn is based on euclidean distance. It should be replaced with cosine distance.
The text was updated successfully, but these errors were encountered:
May I ask what the status of this issue is? I looked into the commits log but to no avail.
I am currently using init="random" as a safer option, and would like to switch to k-means++ if this issue is resolved.
Hi @rtrad89 or @t103z I'm not sure how much this will actually matter since this is just used for intiailization (and sklearn has chosen not to provide a distance-configurable version of kmeans++).
spherecluster/spherecluster/spherical_kmeans.py
Lines 44 to 48 in 701b0b1
I might be getting this wrong, but the code here seems to be using initialization function from sklearn. This could cause issue since the kmeans++ initialization in sklearn is based on euclidean distance. It should be replaced with cosine distance.
The text was updated successfully, but these errors were encountered: