loneharoon / GSP_energy_disaggregator

This contains the energy disaggregation code based on Graph Signal Processing approach
https://ieeexplore.ieee.org/document/7457610/
26 stars 19 forks source link

error while running the code #10

Open sastry3009 opened 3 years ago

sastry3009 commented 3 years ago

I got the following error while i would like to run the code as it is.

also help me in implementing the same algorithm to the public available datasets like REDD,UKDALE

1 of 6> reading data Traceback (most recent call last): File "gsp_disaggregator.py", line 62, in event = [i for i in range(0, len(delta_p)) if (delta_p[i] > T_Positive or delta_p[i] < T_Negative) ] File "gsp_disaggregator.py", line 62, in event = [i for i in range(0, len(delta_p)) if (delta_p[i] > T_Positive or delta_p[i] < T_Negative) ] TypeError: '>' not supported between instances of 'tuple' and 'int'