Description Usage Arguments Details Value
Calculates the k-shape algorithm.
1 | KShape(tss, k, tolerance = 1e-10, maxIterations = 100)
|
tss |
Expects an input array whose dimension zero is the length of the time series (all the same) and dimension one indicates the number of time series. |
k |
The number of means to be computed. |
tolerance |
The error tolerance to stop the computation of the centroids. |
maxIterations |
The maximum number of iterations allowed. |
[1] John Paparrizos and Luis Gravano. 2016. k-Shape: Efficient and Accurate Clustering of Time Series. SIGMOD Rec. 45, 1 (June 2016), 69-76.
List with the k-shape centroids as first element and k-shape labels as second element.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.