Detecting Anomalies in Data

Implements Collective And Point Anomaly (CAPA) , Multi-Variate Collective And Point Anomaly (MVCAPA) , Proportion Adaptive Segment Selection (PASS) , and Bayesian Abnormal Region Detector (BARD) methods for the detection of anomalies in time series data. Also includes sequential versions of CAPA and MVCAPA .

Fast anomaly detection in R

In Brief

This R package implements CAPA (Collective And Point Anomalies) introduced by Fisch, Eckley and Fearnhead (2018). The package is available on CRAN and contains lightcurve data from the Kepler telescope to illustrate the algorithm.

About CAPA

CAPA detects and distinguishes between collective and point anomalies. The algorithm's runtime scales linearly at best and quadratically at worst in the number of datapoints. It is coded in C and can process 10000 datapoints almost instantly.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


4.0.0 by Daniel Grose, a month ago

Browse source code at

Authors: Alex Fisch [aut] , Daniel Grose [aut, cre] , Lawrence Bardwell [ctb] , Idris Eckley [ths] , Paul Fearnhead [ths]

Documentation:   PDF Manual  

GPL license

Imports dplyr, rlang, methods, assertive, Rdpack, ggplot2, reshape2, Rcpp, robustbase, cowplot

Suggests magrittr

Linking to Rcpp, BH

See at CRAN