知识卡片
特征工程构造新表示
特征工程用已有数据生成更贴近任务的输入。书例将年龄、收入转成分组,并对样例学历构造是否本科以上的指示变量。分组便于使用阈值,代价是组内差异被合并。派生特征要可在预测时获得,并用验证结果检查它是否带来增益。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Data Pre-processing · 查看原书依据
Feature engineering involves creating new features from existing ones to improve a Machine Learning model's performance. Code 2.7 is an example demonstrating feature engineering using a synthetic dataset and the pandas library:
参考来源
- 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 02 章《Data Pre-processing》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch02.xhtml`,book-source 项目,正文索引第 300 段)
- 结论依据:本段定义以已有特征生成新特征,随后代码具体构造年龄、收入和学历表示。
- 原始内容:Feature engineering involves creating new features from existing ones to improve a Machine Learning model's performance. Code 2.7 is an example demonstrating feature engineering using a synthetic dataset and the pandas library: