Package: anomalize 0.3.0.9000

Matt Dancho

anomalize: Tidy Anomaly Detection

The 'anomalize' package enables a "tidy" workflow for detecting anomalies in data. The main functions are time_decompose(), anomalize(), and time_recompose(). When combined, it's quite simple to decompose time series, detect anomalies, and create bands separating the "normal" data from the anomalous data at scale (i.e. for multiple time series). Time series decomposition is used to remove trend and seasonal components via the time_decompose() function and methods include seasonal decomposition of time series by Loess ("stl") and seasonal decomposition by piecewise medians ("twitter"). The anomalize() function implements two methods for anomaly detection of residuals including using an inner quartile range ("iqr") and generalized extreme studentized deviation ("gesd"). These methods are based on those used in the 'forecast' package and the Twitter 'AnomalyDetection' package. Refer to the associated functions for specific references for these methods.

Authors:Matt Dancho [aut, cre], Davis Vaughan [aut]

anomalize_0.3.0.9000.tar.gz
anomalize_0.3.0.9000.zip(r-4.7)anomalize_0.3.0.9000.zip(r-4.6)anomalize_0.3.0.9000.zip(r-4.5)
anomalize_0.3.0.9000.tgz(r-4.6-any)anomalize_0.3.0.9000.tgz(r-4.5-any)
anomalize_0.3.0.9000.tar.gz(r-4.7-any)anomalize_0.3.0.9000.tar.gz(r-4.6-any)
anomalize_0.3.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
anomalize/json (API)

# Install 'anomalize' in R:
install.packages('anomalize', repos = c('https://business-science.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/business-science/anomalize/issues

Pkgdown/docs site:https://business-science.github.io

Datasets:

On CRAN:

Conda:

anomalyanomaly-detectiondecompositiondetect-anomaliesiqrtime-series

9.30 score 339 stars 391 scripts 846 downloads 2 mentions 17 exports 133 dependencies

Last updated from:f5d37063c8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK200
source / vignettesOK278
linux-release-x86_64OK201
macos-release-arm64OK146
macos-oldrel-arm64OK124
windows-develOK174
windows-releaseOK185
windows-oldrelOK125
wasm-releaseOK178

Exports:anomalizeclean_anomaliesdecompose_stldecompose_twittergesdget_time_scale_templateiqrplot_anomaliesplot_anomaly_decompositionprep_tbl_timeset_time_scale_templatetime_applytime_decomposetime_frequencytime_recomposetime_scale_templatetime_trend

Dependencies:anytimeaskpassassertthatbackportsbase64encBHbitbit64broombslibcachemclassclicliprclockcodetoolscolorspacecpp11crayoncrosstalkcurldata.tablediagramdigestdplyrevaluatefarverfastmapfontawesomeforcatsforecastfracdifffsfurrrfuturefuture.applygenericsggplot2globalsgluegowergtablehardhathighrhmshtmltoolshtmlwidgetshttripredisobandjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelavalazyevallifecyclelistenvlmtestlubridatemagrittrMASSMatrixmemoisemimenlmennetnumDerivopensslotelpadrparallellypillarpkgconfigplotlyprettyunitsprodlimprogressprogressrpromisespurrrquadprogquantmodR6rappdirsRColorBrewerRcppRcppArmadilloRcppRollreadrrecipesrlangrmarkdownrpartrsampleS7sassscalesshapeslidersparsevctrsSQUAREMstringistringrsurvivalsweepsystibbletibbletimetidyrtidyselecttimechangetimeDatetimetktinytextseriestsfeaturesTTRtzdburcautf8vctrsviridisLitevroomwarpwithrxfunxtsyamlzoo

Anomalize Methods
1. Generating Time Series Analysis Remainders | 1.A. STL | 1.B. Twitter | 1.C. Comparison of STL and Twitter Decomposition Methods | 1.D. Transformations | 2. Detecting Anomalies in the Remainders | 2.A. IQR | 2.B. GESD | 2.C Comparison of IQR and GESD Methods | 3. Conclusion | 4. References | Interested in Learning Anomaly Detection?

Last update: 2023-12-06
Started: 2018-03-22

Anomalize Quick Start Guide
Anomalize Intro on YouTube | 5-Minutes To Anomalize | Parameter Adjustment | Adjusting Decomposition Trend and Seasonality | Local Parameter Adjustment | Global Parameter Adjustement | Adjusting Anomaly Detection Alpha and Max Anoms | Alpha | Max Anoms | Further Understanding: Methods | Interested in Learning Anomaly Detection?

Last update: 2023-12-06
Started: 2018-03-22

Reduce Forecast Error with Cleaned Anomalies
Example - Reducing Forecasting Error by 32% | Forecasting Lubridate Downloads | Workflow for Cleaning Anomalies | Before Cleaning with anomalize | After Cleaning with anomalize | 32% Reduction in Forecast Error | Interested in Learning Anomaly Detection?

Last update: 2023-12-06
Started: 2019-09-20