Mahalanobis Distance(马氏距离)
(from:http://en.wikipedia.org/wiki/Mahalanobis_distance)
Mahalanobis distance
In statistics, Mahalanobis distance is a distance measure introduced by P. C. Mahalanobis in 1936.It is based on correlations between variables by which different patterns can be identified and analyzed. It gauges similarity of an unknown sample set to a known one. It differs fromEuclidean distance in that it takes into account the correlations of the data set and is scale-invariant. In other words, it is a multivariateeffect size.
Definition
Formally, the Mahalanobis distance of a multivariate vector from a group of values with mean and covariance matrix is defined as:
(注:1.这个是X和总体均值的马氏距离。2.这里的S是可逆的,那么协方差矩阵不可逆的话怎么办?)
Mahalanobis distance (or "generalized squared interpoint distance" for its squared value) can also be defined as a dissimilarity measure between two random vectors and of the same distribution with the covariance matrix :
If the covariance matrix is the identity matrix, the Mahalanobis distance reduces to the Euclidean distance. If the covariance matrix is diagonal, then the resulting distance measure is called the normalized Euclidean distance:
where is the standard deviation of the ( ) over the sample set.
(源自:百度百科)
马氏优缺点:
最新文章
- 利用CSS3D效果制作简易旋转木马效果
- [Unity3D]深度相机 Depth Camera
- C++ 之 auto_ptr and shared_ptr
- Python 3.5安装JPype
- ORACLE 回收站导致的故障
- MATLAB信号与系统分析(一)——连续时间信号与系统的时域分析
- 《zw版·delphi与halcon系列原创教程》zw版_THOperatorSetX控件函数列表 v11中文增强版
- 查询计划Hash和查询Hash
- 联想VIBE UI 固件ROM刷机包集合
- 反射(学习整理)----Class类和加载器ClassLoader类的整理
- Android 学习手札(一) 应用程序架构
- s3c6410学习笔记-烧写uboot+构建文件系统
- vs2015添加T4模版
- Deep Learning速成教程
- 巧用FineReport搭建成本管控监测系统
- MongDb介绍及简单实用
- VUE—打印(原生态网页打印)
- STATS 326 Applied Time Series
- vue中使用axios(异步请求)和mock.js 模拟虚假数据
- phpcms9-6-0 一键getshell工具
热门文章
- HDU 5269 ZYB loves Xor I (二分法)
- PDO防注入原理分析以及使用PDO的注意事项 (转)
- K2 Blackpearl开发技术要点(Part2)
- Codeforces Round #214 (Div. 2) c题(dp)
- API指南----application
- MAC OSX 驱动操作
- cocos2d-x CocoStudio中场景触发器(Trigger)的使用和扩展
- bzoj 3594 [Scoi2014]方伯伯的玉米田(DP+二维BIT)
- <;javascript高级程序设计>;笔记
- 移动开发必备!15款jQuery Mobile插件