Bernoulli distribution.
The Bernoulli distribution describes the probability of successes (x=1) and failures (x=0). The pmf of this distribution is
\[f(x \mid p) = p^{x} (1-p)^{1-x}\]
(Source code
, png
, hires.png
, pdf
)
The bernoulli distribution can be parametrized either in terms of p or logit_p. The link between the parametrizations is given by
\[logit(p) = ln(\frac{p}{1-p})\]
float
Probability of success (0 < p < 1).
float
Alternative log odds for the probability of success.
Methods
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4