neurolang.probabilistic.distributions module

class neurolang.probabilistic.distributions.DiscreteDistribution

Bases: Distribution

Attributes:
support

Methods

expectation

probability

class neurolang.probabilistic.distributions.Distribution

Bases: object

Attributes:
support

Methods

expectation

probability

expectation(fun)
probability(value)
property support
class neurolang.probabilistic.distributions.TableDistribution(table)

Bases: DiscreteDistribution

Attributes:
support

Methods

conditioned_on(condition)

Compute a new distribution for random variable Y(X) such that P(Y(X)) = P(X | C(X) = True), where C is a condition function.

expectation

probability

conditioned_on(condition)

Compute a new distribution for random variable Y(X) such that P(Y(X)) = P(X | C(X) = True), where C is a condition function.

expectation(fun)
probability(value)
property support