Automatic Anomaly detection
AnomalyDetection(
timeseries,
frequency = 52,
conf_level = 1.5,
breaks,
window_len = 14
)
the list of anomalies in the time series, along with the time series plot
Given time series
Timeseries frequency, defaults to 12 points
Confidence level for Anomaly detection
breakpoints identified
Window length for anomaly detection
AnomalyDetection(timeseries = StructuralDecompose::Nile_dataset[,1], breaks = c(4, 50, 80))
AnomalyDetection(timeseries = runif(n = 50, min = 1, max = 10), breaks = c(4, 20, 30))
Run the code above in your browser using DataLab