saliency_map: Create saliency map

View source: R/saliencymap.R

saliency_mapR 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

anomaly_score

Examples

tmp <- ts(rnorm(12*6,10,2), start=c(2009, 1), end=c(2014, 12), frequency=12)
saliency_map(tmp)

spectralAnomaly documentation built on Sept. 16, 2024, 1:06 a.m.