This repository contains code used in the paper Ghani, D., Heard, N. A. and Sanna Passino, F. (2024) "Approximate learning of parsimonious Bayesian context trees", available on arXiv.
The library pbct
can be installed in edit mode as follows:
pip3 install -e lib/
The library can then be imported in any Python session:
import pbct
Examples of usage can be found in notebooks/test_pbct.ipynb
.