time-series-classification-and-clustering icon indicating copy to clipboard operation
time-series-classification-and-clustering copied to clipboard

Time series classification and clustering code written in Python.

Results 11 time-series-classification-and-clustering issues
Sort by recently updated
recently updated
newest added

the function k_means_clust no value and causes a noneType error

``` if closest_clust in assignments: assignments[closest_clust].append(ind) else: assignments[closest_clust]=[] ``` this code is error! when the element match the clus , the element will not append to the clust ,it make...

line 548, you should let the first argument be a sequence. Because of the function "random.sample()" needs its first argument to be a sequence, so you'll need to convert data...

#recalculate centroids of clusters for key in self.assignments: clust_sum=0 for k in self.assignments[key]: clust_sum=clust_sum+data[k] self.centroids[key]=[m/len(self.assignments[key]) for m in clust_sum]-- error in this line,int is not iterable. change clust_sum declaration to...

Hi Alex, Can you please tell about/ describe a bit of data. What number or the row suggest what.?

Thanks for the excellent ipython notebook. I have a doubt, can you please clarify. Using k-means clustering, what is the conclusion? there are no clusters as such. How can we...

I've followed the exact method (for Kmean Clustering) you've written in the tutorial. But it generates following error: ``` 100 iteration 1 100 iteration 2 69 iteration 3 48 iteration...

Since the data is tab separated. It provides github for better display of the data.

Hello, For some reason I can't load your notebook on http://nbviewer.ipython.org/