知识卡片
交叉验证估计泛化
K 折交叉验证将数据分成 K 份,轮流留一份验证,用其余部分训练。汇总各折分数可以比较模型在不同样本子集上的表现和稳定性。做填补、缩放或特征筛选时,每折都只在该折训练部分拟合预处理,最终再用留出的独立测试集评估。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Supervised Learning: Regression · 查看原书依据
Cross-validation: Perform cross-validation (for example, k-fold cross-validation) to assess how well the model generalizes to new data. Cross-validation helps in understanding the model's stability and performance on different subsets of the data.
参考来源
- 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 03 章《Supervised Learning: Regression》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch03.xhtml`,book-source 项目,正文索引第 412 段)
- 结论依据:原文提出 k 折以评估新数据表现并查看不同子集的稳定性,和第 2 章拆分后的处理边界相连。
- 原始内容:Cross-validation: Perform cross-validation (for example, k-fold cross-validation) to assess how well the model generalizes to new data. Cross-validation helps in understanding the model's stability and performance on different subsets of the data.