#python-bindings #python #count-min-sketch #streaming #clustering #midas

midas_python

Python bindings to the Rust lib port of MIDAS (Microcluster-Based Detector of Anomalies in Edge Streams)

4 releases

0.2.1 Mar 11, 2020
0.2.0 Mar 11, 2020
0.1.1 Mar 8, 2020
0.1.0 Mar 8, 2020

#7 in #count-min-sketch

MIT/Apache

47KB
404 lines

midas_rs Python bindings

Python bindings to the Rust port of https://github.com/bhatiasiddharth/MIDAS

Requires

  • cargo—install via
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
  • make
  • python3

To build+test from this directory, run

make

For example code, see test.py

Note: These bindings currently only expose the MidasR variant of the original implementation (which is the variant that includes time-based decay logic).

For information on the algorithm or interpreting the output, see the link to the original as well as the corresponding paper.

Dependencies

~2MB
~39K SLoC