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

spectral cluster refactor

parent 7b6d6a96
Branches
No related tags found
No related merge requests found
...@@ -54,11 +54,7 @@ ...@@ -54,11 +54,7 @@
function [idx,Y]= SpectralCluster(A,k) function [idx,Y]= SpectralCluster(A,k)
NREP=50; NREP=50;
% if (1==k)
% idx=ones(size(A,2),1);
% Y = []; % ack TODO need Y for 1?
% return;
% end
for i=1:size(A,1) for i=1:size(A,1)
D(i,i)=sum(A(i,:)); D(i,i)=sum(A(i,:));
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment