Discrete:
| Distribution | PMF | Mean | Variance | Use |
|---|---|---|---|---|
| Bernoulli() | Single binary trial | |||
| Binomial() | Count of successes in trials | |||
| Categorical() | — | — | One draw from classes (softmax output) |
Continuous:
| Distribution | Mean | Variance | Use | |
|---|---|---|---|---|
| Gaussian() | Everywhere: noise, priors, weight init |
Why Gaussian is everywhere:
- Central limit theorem: sum of many independent RVs → Gaussian
- MLE with MSE loss assumes Gaussian noise
- MAP with L2 regularization = Gaussian prior on weights
- Weight Initialization draws from Gaussian (or uniform) scaled by layer size
Multivariate Gaussian: — fully specified by mean vector and covariance matrix. The covariance matrix must be positive semi-definite.
See also: Random Variables, Expectation and Variance