Skip to content

Instantly share code, notes, and snippets.

@holisticinfosec
Last active June 3, 2018 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save holisticinfosec/7a026502b10880b5596c156b67032764 to your computer and use it in GitHub Desktop.
Save holisticinfosec/7a026502b10880b5596c156b67032764 to your computer and use it in GitHub Desktop.
SERVER-549521 Anomalies STL + IQR Methods
# Created from Anomalize project, Matt Dancho
# https://github.com/business-science/anomalize
SERVER549521 %>%
# STL + IQR Anomaly Detection
time_decompose(count, method = "stl", trend = "4 months") %>%
anomalize(remainder, method = "iqr") %>%
time_recompose() %>%
# Anomaly Visualization
plot_anomalies(time_recomposed = TRUE) +
labs(title = "SERVER-549521 Anomalies", subtitle = "STL + IQR Methods")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment