What is Mahalanobis Distance 🌱
https://en.wikipedia.org/wiki/Mahalanobis_distance
- The Mahalanobis distance is the distance of a point from the center of mass divided by the width of the ellipsoid in the direction of that point.
- Ellipsoid is constructed by covariance matrix to account for correlations between features
Suppose I wanted to calculate the Mahalanobis nearest neighbor
- Calculate covariance matrix between all features which will allow you to scale your multidimensional ellipsoid
- Then calculate the Mahalanobis distance between your point of interest and every other point
- Report the closest points
Notes mentioning this note
There are no notes linking to this note.