Skip to content
Snippets Groups Projects
Commit e8f906fe authored by ac's avatar ac
Browse files

spectral cluster don't use stupid eigenvector

parent fc8513c2
Branches
No related tags found
No related merge requests found
......@@ -68,8 +68,8 @@ L=Cluster.Regularize(L); % remove the miniscule asymmetry from L
[eVec eVal]=eig(L);
% ACK CONTROVERSY! WHY STUPID \lambda=1 vector?
X=[eVec(:,end) eVec(:,1:k-1)];
% X=[eVec(:,1:k)];
% X=[eVec(:,end) eVec(:,1:k-1)];
X=[eVec(:,1:k)];
if 1 == k
Y = X ./ max(X);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment