Skip to main content

DeepProbLog

Unit tests

DeepProbLog is an extension of ProbLog that integrates Probabilistic Logic Programming with deep learning by introducing the neural predicate. The neural predicate represents probabilistic facts whose probabilites are parameterized by neural networks. For more information, consult the papers listed below.

Installation

DeepProbLog can easily be installed using the following command: Make sure the following 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 following additional requirements

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*

Experiments

The experiments are presented in the papers are available in the src/deepproblog/examples directory.

Papers

  1. Robin Manhaeve, Sebastijan Dumancic, Angelika Kimmig, Thomas Demeester, Luc De Raedt: DeepProbLog: Neural Probabilistic Logic Programming. NeurIPS 2018: 3753-3763 (paper)
  2. Robin Manhaeve, Sebastijan Dumancic, Angelika Kimmig, Thomas Demeester, Luc De Raedt: Neural Probabilistic Logic Programming in DeepProbLog. AIJ (paper)
  3. Robin Manhaeve, Giuseppe Marra, Luc De Raedt: Approximate Inference for Neural Probabilistic Logic Programming. KR 2021

License

Copyright 2023 KU Leuven, DTAI Research Group

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for deepproblog 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepproblog 2.1.0
File Size Uploaded
deepproblog-2.1.0.tar.gz 101.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deepproblog 2.1.0
File Interpreter ABI Platform
deepproblog-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 232.7 kB

Release files / deepproblog-2.1.0.tar.gz

Download URL deepproblog-2.1.0.tar.gz
Size 101.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f36c4272ee8e6289aa42dc0f6889b4df49bf08888dc30d02e734dd48dbd6e776
BLAKE2b-256 checksum
How to use checksums
8ceb267a4e966f2830443bacd5f2f21da503da1212f096f481e7e807f7e53f6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / deepproblog-2.1.0-py3-none-any.whl

Download URL deepproblog-2.1.0-py3-none-any.whl
Size 131.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1602a7244774ed4cd60c72ce25910c1411f53c76dd213461fcfb9b8286ce38c
BLAKE2b-256 checksum
How to use checksums
baeb2b5c26c8b680bc25d83c3beec8c0be164d29216e98cc91711540d9ed6ddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page