mealy: Mealy machines for processing time-series and ordered data.
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)
Downloads
- mealy-0.4.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.4.1, 0.4.5.0, 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.5.1.1 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | adjunctions (>=4.0 && <5), base (>=4.7 && <5), containers (>=0.6 && <0.7), mwc-probability (>=2.3.1 && <2.4), numhask (>=0.10 && <0.12), numhask-array (>=0.10 && <0.12), primitive (>=0.7.2 && <0.9), profunctors (>=5.6.2 && <5.7), tdigest (>=0.2.1 && <0.4), text (>=1.2 && <2.1), vector (>=0.12.3 && <0.14), vector-algorithms (>=0.8.0 && <0.10) [details] |
| Tested with | ghc ==8.10.7 || ==9.2.8 || ==9.4.5 || ==9.6.2 |
| License | BSD-3-Clause |
| Copyright | Tony Day (c) 2013 |
| Author | Tony Day |
| Maintainer | tonyday567@gmail.com |
| Uploaded | by tonyday567 at 2023-08-23T04:37:00Z |
| Category | algorithm |
| 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 |
| Distributions | LTSHaskell:0.5.1.1, NixOS:0.5.0.1, Stackage:0.5.1.1 |
| Reverse Dependencies | 3 direct, 2 indirect [details] |
| Downloads | 1474 total (77 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2023-08-23 [all 1 reports] |