Python implementation of k-Shape http://www.cs.columbia.edu/~jopa/kshape.html
Go to file
Jörg Thalheim c0a018ed26 requirements.txt: remove scipy 2016-05-18 13:26:41 +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
README.md link to paper page 2016-05-18 13:19:21 +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
requirements.txt requirements.txt: remove scipy 2016-05-18 13:26:41 +00:00

README.md

k-Shape

Python implementation of k-Shape, a new fast and accurate unsupervised Time Series cluster algorithm

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)