美文网首页
2019-01-28[Stay Sharp]Mahalanobi

2019-01-28[Stay Sharp]Mahalanobi

作者: 三千雨点 | 来源:发表于2019-01-27 21:07 被阅读1次

    Mahalanobis distance is the distance between a point and a distribution, it's a measure of how many standard deviations away the point is from the mean the distribution.

    \Delta ^ { 2 } = ( \mathbf { x } - \boldsymbol { \mu } ) ^ { \mathrm { T } } \boldsymbol { \Sigma } ^ { - 1 } ( \mathbf { x } - \boldsymbol { \mu } )
    where \Delta is the Mahalanobis distance of the point \mathbf{x} from a distribution with mean \mu, and \boldsymbol \Sigma is the covariance matrix.

    It also can be defined as a dissimilarity measure between two random vectors \underline x and \underline y of the same distribution with the covariance matrix \Sigma

    d ( \mathbf { x } , \mathbf { y } ) = \sqrt { ( \mathbf { x } - \mathbf { y } ) ^ { T } \Sigma ^ { - 1 } ( \mathbf { x } - \mathbf { y } ) }
    The Mahalanobis distance will reduce to the Euclidean distance when \Sigma is the identity matrix, and become the standardized Euclidean distance when \Sigma is diagonal.

    相关文章

      网友评论

          本文标题:2019-01-28[Stay Sharp]Mahalanobi

          本文链接:https://www.haomeiwen.com/subject/aevnjqtx.html