Skip to content

A library for modeling Markov chains in Common Lisp.

License

Notifications You must be signed in to change notification settings

ntrocado/cl-markov-chains

Repository files navigation

cl-markov-chains

A library for modeling Markov chains in Common Lisp.

It works with multiple data types and first- as well as nth-order chains.

Usage examples

(generate (analyze '(sunny rainy rainy sunny sunny rainy sunny sunny sunny sunny rainy rainy rainy) 1) 10)

-> (SUNNY SUNNY RAINY SUNNY SUNNY SUNNY RAINY RAINY RAINY RAINY)
(generate (analyze "aaabcbbdeeeaafafcbeefabc" 1) 30)

-> "abeafcbeeaafaafcbdeeefafcbefaa"

Todo

  • documentation
  • transition matrix representation
  • model properties
  • ...

License

MIT

About

A library for modeling Markov chains in Common Lisp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published