This repository provides the code used for simulations in our paper "A reaction network scheme for Hidden Markov Model parameter learning".
In this repository 2 different source codes are provided for producing the same results:
- The jupyter notebook
Python_I/Main.ipynbcan be run, which contains the simulation forExample-1aandExample-2. - The dependencies are mentioned in
Python_I/requirements.txt(other thanhmmlearnpackage at version0.2.8the other dependencies are not critical and a different version of the package may also work). - Other necessary code are included in the sub-folders of
Python_II
- The jupyter notebook
Python_II/Main.ipynbcan be run, which contains the simulations forExample-1aandExample-1b. - The dependencies are mentioned in
Python_II/requirements.txt(other thancrnsimulatorpackage at versionv0.9andhmmlearnpackage at version0.2.8the other dependencies are not critical and a different version of the package may also work). - Other necessary code are included in the sub-folders of
Python_II