知识卡片
有序类别编码
有序类别编码按类别本身具有的先后顺序赋予顺序表示,例如把低、中、高按等级排列。若类别没有真实顺序,直接赋予顺序可能引入不恰当的关系;要结合数据含义和模型处理方式选择。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Features and feature engineering · 查看原书依据
ordinal encoding (this method ranks categories based on some inherent order)
参考来源
- 位置:《Machine Learning System Design》第11章《Features and feature engineering》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Machine Learning System Design/_epub-src/OEBPS/Text/chapter-11.xhtml)
- 结论依据:原文说明该编码基于类别固有顺序;低中高是说明用例。
- 原始内容:ordinal encoding (this method ranks categories based on some inherent order)