In part one of this series, I covered two very basic probability distributions – Bernoulli and multinouli. If you want to find out more about those, or if you wish to learn a bit about what are probability distributions, discrete and continuous random variables, go here.
In this post, we’re covering two slightly bit more complicated, but more widely used than the previous two. Those are the Gaussian and the exponential distributions.
Gaussian distribution
Gaussian, or as some people might call it – normal, distribution is the most widely used probability distribution in machine learning, and in statistics for that matter. It deals with real numbers, just like the previous two. The formula goes something like this:
$latex N(x, \mu, \sigma^2)= \sqrt{\frac{1}{2\pi\sigma^2}}^{\frac{1}{2\sigma^2}(x\mu^2)}&s=4$
Now let’s go over the variables.
$latex \mu \in \mathbb{R}&s=1 $ – this variable is called the mean of the distribution, because $latex \mathbb{E}[x]=\mu&s=1$. It gives the x coordinate for the central peak of the graph.
$latex \sigma \in (0, \infty)&s=1$ – this variable gives the standard deviation of the distribution and it gives the variance by $latex \sigma^2&s=1$.
Often times, because we need to invert $latex \sigma&s=1$ do calculate PDF (probability density distribution, we use a placeholder variable o control the precision of the distribution. In that way, the computation if a bit more efficient . When we do that, we insert $latex \beta \in (0, \infty)&s=1$, and the equation looks like this:
$latex N(x, \mu, \beta^{1})= \sqrt{\frac{\beta}{2\pi}}^{\frac{1}{2}\beta(x\mu^2)} &s=4 $
One huge advantage of the normal distribution is that the central limit theorem shows us that the sum of many independent random variables is approximately normally distributed.
Also , you could use the Gaussian distribution on $latex \mathbb{R}^n &s=1 $ space. In that case, that would be called a multivariate normal distribution, and it’s a bit too much for this blog post. You can read more about it here.
Exponential distribution
The exponential distribution to have a sharp point $latex x = 0 &s=1 $.
$latex p(x, \lambda) = \begin{cases} \lambda e^{\lambda x}, & x \geq 0 \\ 0, & x<0 \end{cases}&s=4 $
Here, $latex \mathbb{E}[x] = \frac{1}{\lambda} &s=1 $, and $latex Var[x] = \frac{1}{\lambda^2} &s=1 $.
References

Deep Learning (Adaptive Computation and Machine Learning series), by I.Goodfellow, Y.Bengio, A.Courville, http://www.deeplearningbook.org/
 StatLect: https://www.statlect.com/probabilitydistributions/exponentialdistribution, https://www.statlect.com/probabilitydistributions/normaldistribution
 Wikipedia: https://en.wikipedia.org/wiki/Central_limit_theorem