Paa: Paa

Description Usage Arguments Value

Description

Piecewise Aggregate Approximation (PAA) approximates a time series X of length n into vector \bar{X}=(\bar{x}_{1},…,\bar{x}_{M}) of any arbitrary length M ≤q n where each of \bar{x_{i}} is calculated as follows:

\bar{x}_{i} = \frac{M}{n} ∑_{j=n/M(i-1)+1}^{(n/M)i} x_{j}.

Usage

1
Paa(arr, bins)

Arguments

arr

KHIVA Array with the x-coordinates and y-coordinates of the input points (x in column 0 and y in column 1).

bins

Sets the total number of divisions.

Value

Array of points with the reduced dimensionality.


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