Show 

_Bernoulli Function

This is a distribution that Netica uses internally to represent the Bernoulli distribution.  If you get an error message saying there was an error evaluating _Bernoulli (k, p), where k and p are numbers, then your equation is supplying illegal values, even if you never explicitly used _Bernoulli in your equation.

For instance, if your equation for boolean node B is P(B|x) = x/10 and values of x can go up to 11, then _Bernoulli (1, 1.1) will be illegal, since you are supplying 1.1 as a probability (and Netica can’t normalize it, since no probability for B being false is given).

Home > _Bernoulli Function