powered by
Using the provided numeric input, typically a time series, calculate the spectral residual and output the saliency map for use in anomaly detection.
saliency_map(x, window = 3)
Numeric vector representing the saliency map values.
Numeric vector.
Positive integer value.
anomaly_score
tmp <- ts(rnorm(12*6,10,2), start=c(2009, 1), end=c(2014, 12), frequency=12) saliency_map(tmp)
Run the code above in your browser using DataLab