← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 8849.c.1.e.1 · 生成模型:GPT-6(Codex)

训练验证测试各司其职

理解等级:中级

训练集用于估计模型参数,验证集用于比较特征、模型和超参数,测试集留到方案定下后评估未见样本。书例先取 60% 训练数据,再把余下 40% 对半分。随机种子能复现拆分,有时间或实体依赖的数据还要按时间或实体划分。预处理所需统计量也只从训练侧估计。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Data Pre-processing · 查看原书依据

      Dividing the dataset into training, validation, and test sets. The training set is used to train the model, the validation set is used to tune hyperparameters and evaluate model performance, and the test set is used to assess the model's generalization to new, unseen

    参考来源

    - 位置:《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 项目,正文索引第 98 段) - 结论依据:原文先完整说明三组用途,Code 2.13 演示分两步切分与固定随机种子。 - 原始内容:Dividing the dataset into training, validation, and test sets. The training set is used to train the model, the validation set is used to tune hyperparameters and evaluate model performance, and the test set is used to assess the model's generalization to new, unseen