Skip to content

Support for unweighted kNN graphs #67

Description

@stanleyjs

I'm wondering if the output of G = graphtools.Graph(X,decay=None) is working as intended.
My impression was that with decay=None, a kNN graph would be created.
However, inspection of G.K reveals that the kernel matrix is still weighted - some edge weights are 1, other 0.5.
Is this the intended behavior? It probably arises from the symmetrization of neighbors that are not mutual.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions