Git Product home page Git Product logo

peircebayes's Introduction

peircebayes

peircebayes (referred to as PB in this documentation) is a probabilistic logic programming language designed for inference in probabilistic models with Dirichlet priors. See [1] for more details.

Installation

PB is implemented in Prolog and Python (2.7).

Python core dependencies

numpy>=1.9.2
scipy>=0.15.1
matplotlib>=1.4.3
cython>=0.22.1

Other dependencies

For installation, see the hyperlinks of the dependecies.

The Prolog implementation used is yap. A standard YAP installation is fine.

The code for sampling uses the GNU scientific library ( gsl ).

pyCUDD is used for compiling BDDs in Python. If you're feeling lucky, try the steps below (otherwise see source files):

  1. in the cudd folder (make sure the GCC flags are appropriately set in Makefile):
make clean
make
make libso
  1. in the pycudd folder:
make depend
make
  1. in your configuration file (e.g. ~/.bashrc) (replace the path to pycudd2.0.2 with your own):
export PYTHONPATH=$PYTHONPATH:~/Programs/pycudd2.0.2/pycudd
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/Programs/pycudd2.0.2/cudd-2.4.2/lib

PB install

To install PB (from PB folder):

sudo python setup.py install

Then try:

peircebayes -h

And tests (from PB folder):

cd tests
python tests.py core
python tests.py opt

How to cite

For the moment, please cite PB using bibtex:

@misc{Turliuc15,
    title = {peircebayes - Probabilistic Abductive Logic Programming using Dirichlet Priors},
    author = {Calin Rares Turliuc},
    url = {http://github.com/raresct/peircebayes}
}

A paper describing PB has been accepted at the Second Workshop on Probabilistic Logic Programming. We will update the citation once we have the bibtex reference to the paper.

Contact

If you have any questions/problems/suggestions, don't hesitate to contact me at: raresturliuc [at] gmail [dot] com. Note that my willingness to help with installation issues is significantly reduced on OSs different from Ubuntu 14.10.

References

[1]Turliuc, C.R., Dickens, L., Russo, A., Broda, K., Probabilistic Abductive Logic Programming using Dirichlet Priors, Second Workshop on Probabilistic Logic Programming, 2015, to appear.

peircebayes's People

Watchers

 avatar  avatar

Forkers

stdragiev1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.