Skip to content

Python wrapper for the PSI-Solver (probabilistic symbolic inference)

License

Unknown, BSL-1.0 licenses found

Licenses found

Unknown
LICENSE
BSL-1.0
LICENSE_PSI
Notifications You must be signed in to change notification settings

ML-KULeuven/psipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The psipy package

The psipy python package wraps around the PSI-Solver and allows you to to access its functionality in python.

Preliminary requirements

  1. Install the pyd package. Clone the repo, cd into it and type python setup.py install
  2. Install the dmd comiler: DMD compiler

Installation (tested on Ubuntu 16.04)

  1. Clone now the psipy repo to your designated directory (first command from below)
git clone --recursive https://github.com/ML-KULeuven/psipy.git
  1. Built the PSI-Solver:
cd psipy
python psipy/build_psi.py
  1. Build the python library for the PSI-Solver:
python setup.py install
  1. Copy paste the final print-out line of this command (starts with export) into your .bashrc. This will add the path to the psipy library to the PYTHONPATH.

Test

python
> import psipy
> a = psipy.S("3")
> b = psipy.S("2")
> c = psipy.add(a,b)

c should now return 5.

About

Python wrapper for the PSI-Solver (probabilistic symbolic inference)

Resources

License

Unknown, BSL-1.0 licenses found

Licenses found

Unknown
LICENSE
BSL-1.0
LICENSE_PSI

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published