multivariate Gaussian distribution N (μij , Σij )

2D normal distribution examples


Mahalanobis distance (MD) is a statistical measure of the distance between a point (y) & a distribution (its mean is $\mu$), representing how many standard deviations away a point is from the center.
$$ d = \sqrt{(y - \mu)^T C^{-1} (y - \mu)} $$
It measures distance by accounting for the covariance matrix C.
Unlike Euclidean distance measures distance by a identity matrix, which treats all directions equally,
MD uses the covariance matrix to scale distances, effectively creating ellipses of equal distance around a data center.