Skip to content

handle cannot-link constraints #4

Description

@ljwolf

Usually, you should be able to pass an affinity matrix with -1 to indicate that a connection cannot be made, and two observations cannot be put in the same cluster.

But, because of the way sklearn.manifold.spectral_embedding works, it computes a normalized laplacian, so any negative weights become nan.

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