Skip to content

Python implementation of the context tree weighting (CTW) method for sequential probability assignment.

Notifications You must be signed in to change notification settings

gabeschamberg/context-tree-weighting

Repository files navigation

context-tree-weighting

Python implementation of the context tree weighting (CTW) method for sequential probability assignment of M-ary sequences with the option of including L-ary (with L and M not necessary being equal) side information. See ctw-usage.ipynb for example use cases of the provided CTW class.

For more on context tree weighting see this paper

For a description of the efficient updating implementation see Chapter 5 of this follow up paper

For more information about CTW with stale side information see this paper

For a Matlab implementation that provided much guidance see here

About

Python implementation of the context tree weighting (CTW) method for sequential probability assignment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages