streaming_algorithms  0.0.5
A collection of streaming data algorithms
Streaming Algorithms

Overview

Count-min Sketch

The Count-min sketch calculates the frequency of an item in a stream.

Matrix

Matrix data structure for a 2d matrix.

Piecewise Parabolic Prediction (P2)

The p2 algorithm for dynamic calculation of quantiles and histograms without storing observation.

Running Stats

Calculates the mean, variance, and standard deviation https://www.johndcook.com/blog/standard_deviation/

Time Series

Time series data structure for windowed calculations.

Full Documentation

Installation

Prerequisites

Optional (used for documentation)

CMake Build Instructions

git clone https://github.com/trink/streaming_algorithms.git
cd streaming_algorithms
mkdir release
cd release

# UNIX
cmake -DCMAKE_BUILD_TYPE=Release -DCPACK_GENERATOR=[TGZ|RPM|DEB] ..
make

# Windows Visual Studio 2013
cmake -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ..
nmake

ctest