# mahal - Mahalanobis distance calculator¶

 mahalanobis Returns the distances of the observations from a reference set.

Mahalanobis distance calculator

Compute the Mahalanobis distance between observations and a reference set. The principle components of the reference set define the basis of the space for the observations. The simple Euclidean distance is used within this space.

bumps.dream.mahal.mahalanobis(Y, X)[source]

Returns the distances of the observations from a reference set.

Observations are stored in rows Y and the reference set in X.