beckel / nilm-eval

NILM-EVAL: An evaluation framework for non-intrusive load monitoring algorithms
GNU General Public License v2.0
108 stars 50 forks source link

Adjacency matrix not symmetric? #13

Open habring opened 1 year ago

habring commented 1 year ago

Hi there,

I am trying to use the Kolter algorithm provided in the repository. I am not able to run the code on the eco dataset. I get an error in the function 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.

Best, Andi