mvtsa.representation.abba#
- mvtsa.representation.abba(x, tol=0.1, n_symbols=None, scale=1.0, random_state=0)[source]#
ABBA symbolic representation of a univariate series.
- Parameters:
- tol
float Compression tolerance: a linear piece is extended while the squared error stays below \((\ell-1)\,\text{tol}^2\).
- n_symbols
int,optional Number of symbols (k-means clusters of the pieces); default: the smallest k for which the clustering error is below the tolerance bound, at most 26.
- scale
float Weight of the length relative to the increment in the clustering.
- tol
- Returns: