bayesian program merging prototype
Scheme Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
archived
arxiv
church
python
scheme
.gitignore
README.md
configure.py

README.md

You need to have ikarus, bher, and scheme-tools set up on your system. [bpm-dir] is the absolute path for the bayesian program merging directory e.g. /home/ih/bpm/ (it is important to have the trailing '/'). [bher dir] is the absolute path for the bher directory, e.g., /home/ih/bher-read-only/.

Installation

  1. Apply modifications to Bher:

    1. Change into the factor-graphics directory: cd [bpm-dir]

    2. Run python configure.py "[bher-dir]" "[bpm-dir]"

  2. Adjust path variables: Add PATH=$PATH:[bher dir]:. and IKARUS_LIBRARY_PATH=[bpm-dir]/scheme:[scheme-tools dir]:[bher dir]:. to your .bashrc file.

Testing

To see if everything works you can do the following

cd [bpm-dir]/church/tests
bher beam-learning-tests.church

Due to path issues, you currently have to run bher from the directory containing the church file being run if it uses eval.