知识卡片
特征矩阵必须排除目标列
以价格为目标时,X保留允许用于预测的输入,y单独保存price,并维持相同样本顺序。将目标或其事后代理放入X会泄漏答案;字段名叫x、y、z的几何尺寸也不应与变量X、y混淆。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 使用数据
原书出处 · 1 处
- · 查看原书依据
The diamond data set has 53,940 instances (rows) and 10 columns or features. We select price as the target as it seems logical to predict the price using the other features.
参考来源
- 位置:《Machine Learning Fundamentals: Concepts, Models, and Applications》第05章《使用数据》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Machine Learning Fundamentals: Concepts, Models, and Applications/_epub-src/OEBPS/xhtml/17_chapter05.xhtml)
- 结论依据:摘录中关于特征矩阵必须排除目标列的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:The diamond data set has 53,940 instances (rows) and 10 columns or features. We select price as the target as it seems logical to predict the price using the other features.