引导式测验 · 中等 等级

训练、验证和测试拆分测验

测试拟合与调整与最终评估、预处理泄漏、组和时间分割、分层、比率和重用测试集。

相关引导路径训练验证测试拆分
问题 1 的 8

哪个分区通常应该提供用于拟合模型学习参数的示例?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 哪个分区通常应该提供用于拟合模型学习参数的示例?
    • The final untouched test partition
    • The training partition
    • Only the deployment population after launch
    • All partitions combined before model selection
  2. 团队比较两种架构并选择概率阈值。哪个分区可以指导这些开发选择?
    • The final test set, repeated until the score looks best
    • A production set labeled only after release
    • An unrelated benchmark with different labels and population
    • A validation set or cross-validation within development data
  3. 为什么在模型选择确定后应谨慎使用最终测试集?
    • Repeated test-driven revisions turn it into development feedback
    • Each test run erases the labels
    • The test set is needed to fit model weights
    • A final test cannot measure any subgroup
  4. 数据集包含每个患者的多次就诊。哪种分割规则可以防止训练和测试之间的患者重叠?
    • Shuffle each visit independently and stratify labels
    • Put the latest visit of every patient into test and earlier visits into train
    • Assign every visit from one patient to the same partition
    • Sort records by file name before splitting
  5. 类别分层在分类分裂期间有助于保留什么?
    • Identical timestamps in each partition
    • The same fitted preprocessing statistics in every split
    • Complete separation of repeated users by itself
    • Approximate label proportions across partitions
  6. Why should a scaler or feature selector be fitted after the split, using training data only?
    • Validation and test rows must never be transformed
    • Fitting on the full dataset can leak held-out information into development
    • Training rows have no feature distribution before splitting
    • A scaler always changes the target labels
  7. For a demand forecast, which test design most closely reflects future use?
    • Shuffle all dates so future demand appears in training
    • Use only the first week for both training and testing
    • Fit on earlier periods and evaluate on later periods
    • Split by the highest sales value regardless of date
  8. Why does the guide avoid prescribing one fixed train/validation/test percentage for every project?
    • Data volume, rare outcomes, dependence and deployment shift affect the design
    • A fixed ratio prevents the need for confidence intervals
    • Any ratio is equivalent if the model is large enough
    • Every project should instead use all rows for both training and testing