知识卡片
存储类型与变量语义
读表时先检查形状、缺失和数据类型,再确定每列在分析中的实际角色。sex 等字段虽然存的是数字,数字间的间距通常没有数量含义;目标列的 0 和 1 也代表标签。唯一值较少可以提示某列可能是分类变量,最终仍需按字段定义核对。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Project · 查看原书依据
Thereafter, grab_col_name() function is created to obtain observation of the dataset as shown in Code 10.3. We see from the output that there are 303 entries with a total of 14 columns, where five numerical and nine categorical columns are there. Note that
参考来源
- 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 10 章《Project》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch10.xhtml`,book-source 项目,正文索引第 29 段)
- 结论依据:原文用 sex 数字编码仍是类别的例子解释五数值、九类别的统计。
- 原始内容:Thereafter, grab_col_name() function is created to obtain observation of the dataset as shown in Code 10.3. We see from the output that there are 303 entries with a total of 14 columns, where five numerical and nine categorical columns are there. Note that