Download

Installation

DeepProbLog can easily be installed using the following command: Make sure the required packages are installed:

pip install deepproblog

Test

To make sure your installation works, install pytest

pip install pytest

and run

python -m deepproblog test

Requirements

DeepProbLog has the following requirements:

Approximate Inference

To use Approximate Inference, we have the followign additional requirements

pip install git+https://github.com/ML-KULeuven/pyswip

The latter can be installed on Ubuntu with the following commands:

sudo apt-add-repository ppa:swi-prolog/stable
sudo apt install swi-prolog=8.4* swi-prolog-nox=8.4* swi-prolog-x=8.4*