Skip to content

Computing distances twice for random landmarking #78

@MattScicluna

Description

@MattScicluna

I think we can avoid this computation (happening during landmark creation):

distances = cdist(data, data[landmark_indices], metric="euclidean")

Since we compute the distances between every pair of points here:

distances, indices = knn_tree.kneighbors(Y, n_neighbors=search_knn)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions