-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I think
def minkowski_distance_gradient(u, v):
# u,v in hyperboloid
# returns gradient with respect to u
return -1*(hyperboloid_dot(u,v) ** 2 - 1) ** -1/2 * v
should be changed into
def minkowski_distance_gradient(u, v):
# u,v in hyperboloid
# returns gradient with respect to u
return -1*(hyperboloid_dot(u,v) ** 2 - 1) ** (-1/2) * v
However, I cannot obtain clustering results when I changed the above function.
Metadata
Metadata
Assignees
Labels
No labels