spn.structure.leaves.parametric.Parametric.Bernoulli

class Bernoulli(p=None, scope=None)[source]

Implements a univariate Bernoulli distribution with parameter p (probability of a success)

__init__(p=None, scope=None)[source]

Methods

__init__([p, scope])

Attributes

name

parameters

type