A sequence predictor.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libctw
test
README.txt
continue.py

README.txt

The program tries to continue a given binary sequence.
Usage example:
    $ continue.py 01101
    01101 -> 1011011011
    with P = 0.052825


The Context-Tree Weighting (CTW) algorithm is used for the prediction.
The CTW prediction is optimal, if the next sequence bit depends
only on the sequence suffix.
Note that CTW is encumbered by patents.


Credits
=======
License: MIT
Author: Ivo Danihelka <ivo@danihelka.net>