Skip to content

Variance of the Gaussian kernel is not being calculated appropriately #41

@nbro

Description

@nbro

In the module graph.py, you are calculating a variable sigma2 as follows sigma2 = np.mean(dist[:, -1])**2. However, this is "mu squared" (not the variance) of the last column of the distance matrix. Why not simply using dist.var()?

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