Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 1 KB

README.md

File metadata and controls

22 lines (11 loc) · 1 KB

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.