diff --git a/README.md b/README.md index f51aba7..af85a85 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,8 @@ Python implementation of k-Shape ### Usage ``` -from kshape import kshape +from kshape import kshape, zscore import numpy as np -from scipy.stats import zscore time_series = [[1,2,3,4], [0,1,2,3], [-1,1,-1,1], [1,2,2,3]] cluster_num = 2 diff --git a/example.py b/example.py index 7b627f4..b5ccc3d 100644 --- a/example.py +++ b/example.py @@ -1,6 +1,5 @@ -from kshape import kshape +from kshape import kshape, zscore import numpy as np -from scipy.stats import zscore time_series = [[1,2,3,4], [0,1,2,3], [-1,1,-1,1], [1,2,2,3]] cluster_num = 2