
Other
Time series features which do not fall into any of the other categories.
Embedding Distance (embedding_dist)
What it does
embedding_dist first represents the time series in a two-dimensional time-delay embedding space, , using a time delay, , equal to the first zero-crossing of the autocorrelation function (capped at one-tenth of the time-series length). It then computes the Euclidean distances between successive points in this 2D embedding space (i.e., points one time step apart, and ) and estimates the probability density of these distances using a histogram of equal-width bins spanning their range, normalised as a probability density (count/(n × bin width), for n distances). The number of bins is the larger of those given by Sturges' rule and the Freedman–Diaconis rule (hctsa's 'auto' rule). This feature outputs the mean absolute difference, across histogram bins, between this density and the density of an exponential distribution with the same mean (the maximum-likelihood exponential fit), evaluated at each bin centre. It will give low values to time series where the probability distribution of the distance between consecutive time-series values in the 2D embedding space is well approximated by an exponential distribution.
In hctsa, this feature is the d_expfit_meandiff output of CO_Embed2_Dist(x_z,'tau').
When all the distances are equal (to within rounding error), their distribution is as far from exponential as it can be, and the feature cannot be estimated. In this case, and for a constant time series (which cannot be z-scored), the feature returns a large value by default (with masking): for a time series of length N. This is a practical ceiling, far above the values of real time series, rather than a strict upper bound: distances that are nearly, but not exactly, equal can give larger values.
Last updated