blob: e3cae0d9249d2eb851a0b2c68c1ae31c1f118b4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Jumpavg library
## Origins
This library was developed as anomaly detection logic
for [PAL](https://wiki.fd.io/view/CSIT/Design_Optimizations#Presentation_and_Analytics_Layer "Presentation and Analysis Layer")
of [CSIT](https://wiki.fd.io/view/CSIT "Continuous System and Integration Testing")
project of [fd.io](https://fd.io/ "Fast Data"),
one of [LFN](https://www.linuxfoundation.org/projects/networking/ "Linux Foundation Networking") projects.
Currently still being primarily used in PAL's successor [CSIT-DASH](https://csit.fd.io).
In order to make this code available in [PyPI](https://pypi.org/ "Python Package Index"),
the setuputils stuff has been added,
and the code has been moved into a separate [directory](https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/jumpavg),
in order to not intervere of otherwise tightly coupled CSIT code.
## Usage
TODO.
## Change log
TODO: Move into a separate file?
+ 0.4.0: Added "unit" and "sbps" parameters so information content
is reasonable even if sample values are below one.
+ 0.3.0: Considerable speedup by avoiding unneeded copy. Dataclasses used.
Mostly API compatible, but repr looks different.
+ 0.2.0: API incompatible changes. Targeted to Python 3 now.
+ 0.1.3: Changed stdev computation to avoid negative variance due to rounding errors.
+ 0.1.2: First version published in PyPI.
|