混合数据的聚类中,gower距离的计算逻辑是什么呢?
分类:机器学习
目前遇到一些项目是混合类型的变量放在一起聚类,所以了解到了gower距离,在网上查到的相关资料说gower距离对连续变量使用Manhattan距离,使用Dice计算分类变量的距离。不知道有没有什么更新?
具体来自:https://stats.stackexchange.com/questions/120928/how-does-the-gower-distance-calculate-the-difference-between-binary-variables
Gower distance uses Manhattan for calculating distance between continuous datapoints and Dice for calculating distance between categorical datapoints