Skip to content

minkowski_distance_gradient #3

@jiwoongpark92

Description

@jiwoongpark92

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions