Description Usage Arguments Value
Compute the centroids of a matrix of SAX data using kMedians.
1 2 | runKMedian(seq, card, step, windowSize, clusterNum, centroidSeq, centroidCard,
prevCentroid = FALSE)
|
seq |
A matrix of SAX data to be used for computation of centroids. Each row representing a new/seperate piece of data from the same system. |
card |
A matrix of cardinality values for the SAX data. This should have the same dimensions as the paraketer 'seq'. |
step |
The size of the distance between indices of sampling of the SAX data. |
windowSize |
The size of each sample from the SAX data. Also the number of elements in each centroid. |
clusterNum |
The number of centroids generated. |
centroidSeq |
A matrix of centroids only used for computation if 'prevCentroid' parameter is true. |
centroidCard |
A matrix of cardinalities of centroids only used for computation if 'prevCentroid' parameter is true. |
prevCentroid |
False: Do not use inputted centroids in computation. True: Use inputted centroids in computation. |
A list of lists of computed centroids and their cardinalities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.