Interpreting Seasonal-Hybrid ESD output
The Seasonal-Hybrid ESD algorithm provides some useful output for understanding where the anomalies occur within the data.
In particular, the AnomalyDetectionVec()
function generates output as a list with the two elements
$anoms
, a data frame containing the columnsindex
andanoms
$plot
a plot of the time series with anomalies highlighted (ifplot = T
)
Diese Übung ist Teil des Kurses
Introduction to Anomaly Detection in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Use Seasonal-Hybrid ESD for nitrate concentrations
river_anomalies <- AnomalyDetectionVec(___)