bund_stdlib_analysis 0.2.0

Numeric and text analysis for BUND programming language
Documentation

Module for BUND standard library: Analytical tools for telemetry and not only for telemetry

This module includes BUND functions developed for analysis of the numeric and textual data and data samples.

Installation

This module required make and Rust framework to be installed first. After that:

cargo add bund_stdlib_analysis

Quick start

Get started with a simple example to analyze anomalies in the sample of numeric data

[
  5.0 9.0 2.0 9.0 0.0 6.0 3.0 8.0 5.0 18.0
  7.0 8.0 8.0 0.0 2.0 15.0 0.0 5.0 6.0 7.0
  3.0 6.0 1.0 4.0 4.0 4.0 30.0 7.0 5.0 8.0
]
  7
    analysis.anomalies

The following call will return a LIST value:

[ 18.0 ::  15.0 ::  30.0 :: ]

BUND functions exposed in this module

Name Stack IN Stack OUT Description
analysis.anomalies Dataperiod List of anomalies Search for anomalies in the data sample
analysis.breakouts Dataminimum size List of breakout points Search for breakouts in the data sample
analysis.outliers.mad DataDatasensitivity Dict with information about outliers Search for outliers in two samples using MAD algorithm
analysis.outliers.dbscan DataDatasensitivity Dict with information about outliers Search for outliers in two samples using DBSCAN algorithm
analysis.forecast.markov Data Next value Forecasting next value in the sample using Markov Chain algorithm
analysis.estimate ShapeData Next value Estimate next value in sample
analysis.estimate! ShapeData Estimation dictionary Running multi-estimation analysis over data sample