The Bernoulli distribution is the discrete probability distribution of a random variable which takes the value 1 with probability \(p\) and the value 0 with probability \(1-p\).
Output Bernoulli distribution.
Type: Boolean Array
Shape of the output Boolean Array if no Elementwise Probability is provided.
Probability for outputing TRUE.
Elementwise Probability Boolean
Enable elementwise probability. Will expose an input where you can provide an Numeric Array where each element represents a probability for true. Has to be in the range [0,1].
Copyright © 2023, Hero Imaging AB