Code Monkey home page Code Monkey logo

fluxev's Introduction

FluxEV

The code is for our paper "FluxEV: A Fast and Effective Unsupervised Framework for Time-Series Anomaly Detection" and this paper has been accepted by WSDM 2021. [中文解读]

😉 About Name: "Flux" means the Fluctuation, "EV" denotes the Extreme Value.

💫 Good News: FluxEV has been integrated into OATS, a convenient Python library providing various approaches to time series anomaly detection. Thanks for their awesome work!

Requirements

  • numpy
  • numba
  • scipy
  • pandas
  • scikit-learn
  • matplotlib (plot)
  • more-itertools (plot)

Datasets

  1. KPI.
  1. Yahoo.

Instructions

preprocessing.py:

  • Fill the missing points for KPI dataset.

spot_pipe.py:

  • SPOT function is modified to be a part of FluxEV for streaming detection;
  • MOM(Method of Moments) is added as one of parameter estimation methods;
  • For the original code, please refer to SPOT (Streaming Peaks-Over-Threshold)

eval_methods.py:

main.py:

  • Implement streaming detection of FluxEV.

Run

python main.py --dataset=KPI
python main.py --dataset=Yahoo

Citation

@inproceedings{li2021fluxev,
  title={FluxEV: A Fast and Effective Unsupervised Framework for Time-Series Anomaly Detection},
  author={Li, Jia and Di, Shimin and Shen, Yanyan and Chen, Lei},
  booktitle={Proceedings of the 14th ACM International Conference on Web Search and Data Mining},
  pages={824--832},
  year={2021}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.