update example (without scipy)
This commit is contained in:
parent
d3d3cdfa96
commit
3cba855163
@ -5,9 +5,8 @@ Python implementation of k-Shape
|
|||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
from kshape import kshape
|
from kshape import kshape, zscore
|
||||||
import numpy as np
|
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]]
|
time_series = [[1,2,3,4], [0,1,2,3], [-1,1,-1,1], [1,2,2,3]]
|
||||||
cluster_num = 2
|
cluster_num = 2
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
from kshape import kshape
|
from kshape import kshape, zscore
|
||||||
import numpy as np
|
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]]
|
time_series = [[1,2,3,4], [0,1,2,3], [-1,1,-1,1], [1,2,2,3]]
|
||||||
cluster_num = 2
|
cluster_num = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user