You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()?
The text was updated successfully, but these errors were encountered:
Here we set the width sigma of the Gaussian kernel similarity = np.exp(-(distance/sigma)**2) as the mean of the farthest distance (sigma2 = sigma**2). That's an heuristic.
In the module
graph.py
, you are calculating a variablesigma2
as followssigma2 = np.mean(dist[:, -1])**2
. However, this is "mu squared" (not the variance) of the last column of the distance matrix. Why not simply usingdist.var()
?The text was updated successfully, but these errors were encountered: