开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

水瓶公主 · 2023年05月08日

需要再解释一下,谢谢

NO.PZ2022120201000011

问题如下:

Why is feature scaling important in clustering?

解释:

Feature scaling is necessary in situations where the features have considerably different ranges, because without this step, the calculation of the distances from the data points to the centroids would be meaningless because the distances would be dominated by the features with the largest scale.

有点没看懂,需要解释一下

1 个答案

李坏_品职助教 · 2023年05月08日

嗨,爱思考的PZer你好:


题目问,为什么在聚类分析(clustering)里面,数据特征的scaling(去量纲)那么重要?


很多数据原始值有着千差万别的取值范围。比如人的身高是从1.2米 - 2.5米,但是年收入的差距很显然更大,从1万到1亿。如果直接把这两个变量一起纳入聚类模型,身高差异就体现不出来了。所以必须先把身高和年收入去除量纲,让这两个特征的取值范围保持统一。

----------------------------------------------
努力的时光都是限量版,加油!

  • 1

    回答
  • 0

    关注
  • 208

    浏览
相关问题