Learn R Programming

oddstream (version 0.5.0)

Outlier Detection in Data Streams

Description

We proposes a framework that provides real time support for early detection of anomalous series within a large collection of streaming time series data. By definition, anomalies are rare in comparison to a system's typical behaviour. We define an anomaly as an observation that is very unlikely given the forecast distribution. The algorithm first forecasts a boundary for the system's typical behaviour using a representative sample of the typical behaviour of the system. An approach based on extreme value theory is used for this boundary prediction process. Then a sliding window is used to test for anomalous series within the newly arrived collection of series. Feature based representation of time series is used as the input to the model. To cope with concept drift, the forecast boundary for the system's typical behaviour is updated periodically. More details regarding the algorithm can be found in Talagala, P. D., Hyndman, R. J., Smith-Miles, K., et al. (2019) .

Copy Link

Version

Install

install.packages('oddstream')

Monthly Downloads

118

Version

0.5.0

License

GPL-3

Maintainer

Priyanga Dilini Talagala

Last Published

December 16th, 2019

Functions in oddstream (0.5.0)

set_outlier_threshold

Set a threshold for outlier detection
get_pc_space

Define a feature space using the PCA components of the feature matrix
find_odd_streams

Detect outlying series within a collection of sreaming time series
reexports

Objects exported from other packages
anomalous_stream

Multivariate timeseries dataset with an anomalous event.
extract_tsfeatures

Extract features from a collection of time series
oddstream

oddstream: A package for Outlier Detection in Data Streams
gg_featurespace

Produces a ggplot object of two dimensional feature space.