-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
I am trying to calculate similarity coefficients between nodes based on node embedding vectors obtained from graphwave algorithm. However, the calculated distance between node embedding vectors is very small, e.g. between 0 and 0.01. Hence, the similarity is quite close to 1 for all node pairs. Do you have any suggestion on how to solve this problem? I use the following codes to calculate the distance and similarity:
distance = sc.spatial.distance.euclidean(chi[0,:],chi[1,:])
similarity = 1.0/(1.0+distance)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels