Closed wfphyl closed 7 years ago
All your time series got assigned to the second and the third centroid. I just implemented the algorithm as it were described in the paper and the provided Matlab code. It is a property of the algorithm to leave non-assignable clusters empty. If you think this is a bug, please confirm this is a derivation from the original implementation.
Hello Mic92,
I was trying to run your code, however the results of clusters are sometimes has 0 centers. When the cluster_num = 2, it is fine. However, when the cluster_num = 4, it has two 0 centroid.
time_series = [[1,2,3,4], [0,1,2,3], [0,1,2,3], [1,2,2,3],[2,2,2,2],[9,9,8,7],[2,2,1,1]]