How Far Is That Outlier, Really?

Determinants & InversesMedium+20 XP+20

How Far Is That Outlier, Really?

An anomaly detector scores a 222-feature data point by its squared Mahalanobis distance from the training mean:

d2=(x−μ)⊤ Σ−1 (x−μ)d^2 = (x - \mu)^{\top}\,\Sigma^{-1}\,(x - \mu)d2=(x−μ)⊤Σ−1(x−μ)

where Σ\SigmaΣ is the covariance matrix of the training data. Unlike plain Euclidean distance, this measure stretches and tilts with the shape of the data — which is exactly why the covariance matrix has to be inverted.

For this detector,

Σ=(4225),x−μ=(2−1)\Sigma = \begin{pmatrix} 4 & 2 \\ 2 & 5 \end{pmatrix}, \qquad x - \mu = \begin{pmatrix} 2 \\ -1 \end{pmatrix}Σ=(42​25​),x−μ=(2−1​)

What is d2d^2d2 for this point?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.