reconstruct: Reconstruct Data (reconstruct)

Description Usage Arguments Value

Description

Reconstruct a sequence of SAX data using centroids trained using 'runKMedian' function and compute the difference vector between the original and reconstructed data.

Usage

1
reconstruct(seq, card, step, centroidList)

Arguments

seq

A vector of SAX data to be reconstructed using centroids.

card

A vector of cardinality values for the SAX data.

step

The size of the distance between indices of sampling of the SAX data.

centroidList

A list of lists of centroids and their cardinalities. Computed from 'runKMedian' function.

Value

A list containing a vector storing the reconstructed data and a vector storing the difference vector between the original and reconstructed data.


jcpetkovich/rsax documentation built on May 18, 2019, 10:25 p.m.