saliency_map {spectralAnomaly} | R Documentation |
Create saliency map
Description
Using the provided numeric input, typically a time series, calculate the spectral residual and output the saliency map for use in anomaly detection.
Usage
saliency_map(x, window = 3)
Arguments
x |
Numeric vector. |
window |
Positive integer value. |
Value
Numeric vector representing the saliency map values.
See Also
Examples
tmp <- ts(rnorm(12*6,10,2), start=c(2009, 1), end=c(2014, 12), frequency=12)
saliency_map(tmp)
[Package spectralAnomaly version 0.1.1 Index]