Open yesir1006 opened 7 years ago
Hi Yesir, Did you figure out why it is happening. I am getting the same issue. Thank you,
Hi HajerSalem, Unfortunately not yet. I am working on other subject recently, the problem is still remained.
I have now exactly the same error, didn't resolve it yet.
I have the same issue: Problem is the following:
The error appears in the function kmeans used in SpectralClustering because the first input argument of kmeans is not real. This first input argument are the eigenvectors of the Laplacian L= D-W. Apparently in the setting at hand the adjacency matrix W is not symmetric and, thus, in general D might have complex eigenvectors. If the adjacency matrix is allowed to be non-symmetric, then I think this whole method might have a flaw. Otherwise I assume there is a bug in the computation of the adjacency matrix.
Hi,
I run kolter's algorithm with default configuration and experiment, hover, I got an error:
Error using kmeans (line 159) KMEANS does not accept complex data.
Error in SpectralClustering (line 66) C = kmeans(U, k, 'start', 'sample', ...
Error in kolter (line 103) clusters = SpectralClustering(adjacencyMatrix, numOfClusters, 1); ...
I use matlab2016a and wonder if it is the version problem. Did any one meet this problem? Any help would be appreciated. Thank you.