View source: R/ts_aug_jitter.R
| ts_aug_jitter | R Documentation |
Time series augmentation by adding low-amplitude random noise to each point to increase robustness and reduce overfitting.
ts_aug_jitter()
Noise scale is estimated from within-window deviations.
A ts_aug_jitter object.
J. T. Um et al. (2017). Data augmentation of wearable sensor data for Parkinson’s disease monitoring using convolutional neural networks.
Q. Wen et al. (2021). Time Series Data Augmentation for Deep Learning: A Survey. IJCAI Workshop on Time Series.
# Jitter augmentation with noise estimated from windows
# Load package and example dataset
library(daltoolbox)
data(tsd)
# Convert to sliding windows and preview
xw <- ts_data(tsd$y, 10)
ts_head(xw)
# Apply jitter (adds small noise; keeps target column unchanged)
augment <- ts_aug_jitter()
augment <- fit(augment, xw)
xa <- transform(augment, xw)
ts_head(xa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.