Preprocessing#
Preprocessing of multivariate time series.
Normalization, resampling, missing values, smoothing and derivatives, lag (Hankel) embedding used by dynamic PCA, delay-coordinate embedding with lag and dimension selection, and a linear Kalman filter / RTS smoother for model-based state estimation before segmentation (Feil et al., 2005).
Scaling, resampling, missing values, smoothing, derivatives, lag matrices, delay embedding and Kalman smoothing.
Classes#
|
Fit-once, apply-many standardization (for pipelines and deployment). |
Functions#
|
Z-normalize every variable (zero mean, unit standard deviation). |
|
Scale every variable to |
|
Center by the median and scale by the interquartile range. |
|
Resample a series to |
|
Resample every series of a collection to a common length. |
|
Fill NaN values column-wise by |
|
Centered moving average (edges use the available samples). |
|
Smooth every variable: |
|
First or second derivative per sample ( |
Derivative estimate of Keogh and Pazzani (2001) used by derivative DTW: |
|
|
Lag-extended data matrix of dynamic PCA (Ku, Storer and Georgakis, 1995). |
|
Delay-coordinate embedding of a univariate series (Takens): rows |
|
Embedding delay at the first minimum of the average mutual information (Fraser and Swinney, 1986). |
|
Embedding dimension by the false nearest neighbour method of Kennel, Brown and Abarbanel (1992). |
|
Linear Kalman filter and Rauch--Tung--Striebel smoother. |
|
Remove a polynomial trend of the given order from every variable. |