# Bumps 0.7.6 documentation

## 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)

  Returns the distances of the observations from a reference set.

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