mealy: Mealy machines for processing time-series and ordered data.

[ bsd3, folding, library, project ] [ Propose Tags ]

mealy provides support for computing statistics (such as an average or a standard deviation) as current state. Usage is to supply a decay function representing the relative weights of recent values versus older ones, in the manner of exponentially-weighted averages. The library attempts to be polymorphic in the statistic which can be combined in applicative style.

Usage

>>> import Mealy
>>> fold ((,) <$> ma 0.9 <*> std 0.9) [1..100]
(91.00265621044142,9.472822805289121)
Versions [RSS] [faq] 0.0.1, 0.0.2, 0.0.3, 0.1.0
Dependencies adjunctions (==4.4.*), base (>=4.13 && <5), containers (>=0.6.2 && <0.7), folds (>=0.7.6 && <0.8), generic-lens (>=2.2.0 && <2.3), lens (>=5.0.1 && <5.1), matrix (>=0.3.6 && <0.4), mwc-probability (>=2.3.1 && <2.4), numhask (>=0.8.1 && <0.9), numhask-array (>=0.9.1 && <0.10), primitive (>=0.7.2 && <0.8), profunctors (>=5.6.2 && <5.7), tdigest (>=0.2.1 && <0.3), text (>=1.2.4 && <1.3), vector (>=0.12.3 && <0.13), vector-algorithms (>=0.8.0 && <0.9) [details]
License BSD-3-Clause
Copyright Tony Day (c) AfterTimes
Author Tony Day
Maintainer tonyday567@gmail.com
Category folding
Home page https://github.com/tonyday567/mealy#readme
Bug tracker https://github.com/tonyday567/mealy/issues
Source repo head: git clone https://github.com/tonyday567/mealy
Uploaded by tonyday567 at 2021-09-07T22:35:58Z
Distributions NixOS:0.1.0
Downloads 260 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-09-07 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates