Python implementation of k-Shape http://www.cs.columbia.edu/~jopa/kshape.html
Go to file
2016-05-18 13:03:17 +00:00
.envrc add gitignore,envrc 2016-05-12 13:17:44 +00:00
.gitignore add gitignore,envrc 2016-05-12 13:17:44 +00:00
example.py also remove superflous numpy from example 2016-05-18 13:03:17 +00:00
kshape.py remove dependency on scipy 2016-05-17 12:31:45 +00:00
README.md also remove superflous numpy from example 2016-05-18 13:03:17 +00:00
requirements.txt finish algorithm 2016-05-12 13:16:30 +00:00

k-Shape

Python implementation of k-Shape

Usage

from kshape import kshape, zscore

time_series = [[1,2,3,4], [0,1,2,3], [-1,1,-1,1], [1,2,2,3]]
cluster_num = 2
clusters = kshape(zscore(time_series), cluster_num)