#markov-chain #markov #chain #probability #live-coding #pfa

bin+lib vom_rs

A library for Probabilistic Finite Automata

8 releases (4 breaking)

0.5.2 Sep 7, 2024
0.5.1 Sep 30, 2023
0.4.0 May 30, 2023
0.3.0 Nov 7, 2022
0.1.1 Jan 13, 2022

#308 in Math

Download history 6/week @ 2024-07-30 169/week @ 2024-09-03 22/week @ 2024-09-10 10/week @ 2024-09-17 33/week @ 2024-09-24 13/week @ 2024-10-01

326 downloads per month
Used in megra_rs

MIT license

99KB
2K SLoC

vom.rs

Sequence predictors using Variable-Order Markov Chains, also known as Probabilistic Finite Automata.

This library implements the abovementioned predictor, as described in the seminal paper "The Power of Amnesia" by Dana Ron, Yoram Singer and Naftali Tishby.

The automata can be constructed from rules or inferred from a sample string.

It has been developed as a base for the Mégra live coding language.

Dependencies

~1MB
~17K SLoC