2 To derive α, we first define a point-to-set Mahalanobis distance metric between an example x and a set S: where µ S is the mean encoding of S. In its original form, the matrix M S played the role of the inverse covariance matrix.
computing the inverse of the covariance matrix is both time consuming and numerically unstable in practice.