#stack #concatenative #lambda #dynamic #language

bund_stdlib_analysis

Numeric and text analysis for BUND programming language

2 unstable releases

0.2.0 Sep 13, 2025
0.1.0 Sep 12, 2025

#1030 in Programming languages

Custom license and GPL-3.0-or-later

27KB
483 lines

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 Data
period
List of anomalies
Search for anomalies in the data sample
analysis.breakouts Data
minimum size
List of breakout points
Search for breakouts in the data sample
analysis.outliers.mad Data
Data
sensitivity
Dict with information about outliers
Search for outliers in two samples using MAD algorithm
analysis.outliers.dbscan Data
Data
sensitivity
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 Shape
Data
Next value Estimate next value in sample
analysis.estimate! Shape
Data
Estimation dictionary Running multi-estimation analysis over data sample

Dependencies

~44MB
~727K SLoC