Open jiwoongpark92 opened 4 years ago
I think
def minkowski_distance_gradient(u, v):
# returns gradient with respect to u return -1*(hyperboloid_dot(u,v) ** 2 - 1) ** -1/2 * v
should be changed into
# 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.
I think
def minkowski_distance_gradient(u, v):
u,v in hyperboloid
should be changed into
def minkowski_distance_gradient(u, v):
u,v in hyperboloid
However, I cannot obtain clustering results when I changed the above function.