GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

ProbLog

ProbLog is a probabilistic logic programming language that extends Prolog with probabilities. It minimally extends Prolog by adding the notion of a probabilistic fact, which combines the idea of logical atoms and random variables. Similarly to Prolog, ProbLog can query an atom. While Prolog returns the truth value of the queried atom, ProbLog returns the probability of it being true. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

ProbLog is a probabilistic logic programming language that extends Prolog with probabilities. It minimally extends Prolog by adding the notion of a probabilistic fact, which combines the idea of logical atoms and random variables. Similarly to Prolog, ProbLog can query an atom. While Prolog returns the truth value of the queried atom, ProbLog returns the probability of it being true. ProbLog programs consist of a set of probabilistic facts \mathcal{F} and a set of rules \mathcal{R} . Using the distribution semantics, a probability distribution is defined over the two-valued well-founded models of the atoms in the program. The probability of a model is defined as P(M) = \prod_{l \in M} P(l) where the product runs over all the literals in the model M . For a query atom q the distribution semantics defines a probability for the query P(q) = \sum_{M \models q} P(M) = \sum_{M \models q} \prod_{l \in M} P(l) in which the sum runs over all the models where q is true. ProbLog supports multiple tasks: Probabilistic inference: calculate P(q) Most probable explanation: calculate the most probable model probability \max_{M \models q} P(M) Sampling: generate samples of q Learning from interpretations: learn the probabilities of ProbLog programs from data 0.4 :: rain(weekday). 0.9 :: rain(weekend). 0.8 :: umbrella_if_rainy(Day). 0.2 :: umbrella_if_dry(Day). umbrella(Day) :- rain(Day), umbrella_if_rainy(Day). umbrella(Day) :- \+rain(Day), umbrella_if_dry(Day). wet(Day) :- rain(Day), \+umbrella(Day). query(\+wet(weekend)). The last rule before the query states that someone gets wet if it rains and no umbrella was brought. When ProbLog is asked to solve the "probabilistic inference" task, the query asks for the probability to stay dry on a weekend day. When solving the "most probable explanation" task, ProbLog will return the most likely reason for staying dry, i.e. because it is not raining or because the person has an umbrella.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"ProbLog". 1787381006. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1370652380

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·