Skip to content

kenluck2001/anomaly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-time anomaly detection for univariate time series.

Prerequisites / Libraries

  • Redis

Redis is used for maintaining persistency between windows. Change the settings of your personal redis server to include your port number and host.

redis = StrictRedis(host='localhost', port=6379, db=0)

Further work would be putting in an XML file for easy parsing.

Usage

See the tests folder

probabilisticEWMA class allows for tracking the anomaly on a given window of a time series. The method returns the index of the anomaly in that window.

This allow contains the ability to track multiple time series at the same time due to the Redis backend storage.

References

Carter, K. M. & Streilein, W. W. Probabilistic Reasoning For Streaming Anomaly Detection. Retrieved 06/15, 2017, from https://www.ll.mit.edu/mission/cybersec/publications/publication-files/full_papers/2012_08_05_Carter_IEEESSP_FP.pdf

About

This is a non-trivial implementation of anomaly detection in time series as described in ( https://www.ll.mit.edu/mission/cybersec/publications/publication-files/full_papers/2012_08_05_Carter_IEEESSP_FP.pdf ).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages