KShape: KShape

Description Usage Arguments Details Value

Description

Calculates the k-shape algorithm.

Usage

1
KShape(tss, k, tolerance = 1e-10, maxIterations = 100)

Arguments

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.

Details

[1] John Paparrizos and Luis Gravano. 2016. k-Shape: Efficient and Accurate Clustering of Time Series. SIGMOD Rec. 45, 1 (June 2016), 69-76.

Value

List with the k-shape centroids as first element and k-shape labels as second element.


shapelets/khiva-r documentation built on June 10, 2019, 4:58 a.m.