Coder Social home page Coder Social logo

zhangxianglive88 / libspot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asiffer/libspot

0.0 0.0 0.0 7.54 MB

Born to flag outliers

Home Page: https://asiffer.github.io/libspot/

License: GNU General Public License v3.0

Makefile 4.04% C++ 95.96%

libspot's Introduction

libspot Snap Status

Introduction

libspot is a C++ library which aims to detect anomalies in univariate streaming data. This work is based on the KDD17 publication:

Siffer, A., Fouque, P. A., Termier, A., & Largouet, C. (2017, August). Anomaly Detection in Streams with Extreme Value Theory. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1067-1075). ACM.

Github pages : https://asiffer.github.io/libspot/

Details

main algorithms

  • SPOT algorithm (detect anomalies in stationary data streams)
  • DSPOT algorithm (detect anomalies in drifting data streams)

other resources

  • GPDfit(fit data to a Generalized Pareto Distribution)
  • StreamStats (compute basic statistics over sliding window)

Install

The most simple way to install the library is to add my ppa and let your package manager do the job:

$ add-apt-repository ppa:asiffer/libspot
$ apt-get update
$ apt-get install libspot-dev

Otherwise, you can clone the repository and install it manually:

$ make
$ sudo make install

In order to build the library (lib/libspot.so), use make in the main directory. To install the library on your system you can either move by yourself the library file and the headers to the right folder or set the paths in the installation step:

$ make install INSTALL_HEAD_DIR=... INSTALL_LIB_DIR=...

The default paths are /usr/include/ for the headers and /usr/lib/ for the library. After that, you can test the SPOT algorithm with make test.

Python

The python3 bindings are also available on my github.

Next

I am currently integrating the SPOT algorithm within an IDS (Bro)

libspot's People

Contributors

asiffer avatar

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.