引导式测验 · 中等 等级

机器学习的可重复性:种子和决定论测验

区分种子和完全再现性,并跟踪随机生成器、确定性设置、数据分割、软件版本和运行变化。

问题 1 的 8

What does setting a random seed primarily control?

预览每个问题8 问题

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

  1. What does setting a random seed primarily control?
    • A fixed dataset and row ordering even if source files change
    • A saved model checkpoint
    • Initialization of a pseudorandom generator sequence
    • A pinned package environment
  2. Why is a seed alone insufficient to reproduce an experiment?
    • A seed preserves data membership after row order changes
    • Data, code, preprocessing, versions and hardware also affect results
    • A seed fixes package versions and hardware
    • A seed guarantees identical floating-point execution
  3. What can enabling deterministic algorithms do?
    • Guarantee bitwise-identical outputs across platforms and releases
    • Remove all randomness from data and augmentation
    • Avoid some nondeterministic operations where deterministic implementations are available, sometimes at a performance cost
    • Increase accuracy by eliminating all stochasticity
  4. Why seed data-loader workers or their generators?
    • Workers may use separate random streams for shuffling and augmentation
    • Every worker automatically shares synchronized generator state
    • Worker seeds eliminate accelerator nondeterminism
    • Each worker independently supplies the training labels
  5. Which evidence better estimates variability from stochastic training?
    • A single run selected for its best score
    • The lowest training loss from one run
    • Results across repeated runs or uncertainty estimates
    • A large model checkpoint saved once
  6. Why preserve explicit split identifiers as well as a seed?
    • Record only the train/test row counts
    • Preserve which stable example IDs belong to each partition
    • Set a different optimizer learning rate for each partition
    • Assume a seed preserves membership after upstream row ordering changes
  7. Which statement about bit-for-bit reproducibility is accurate?
    • It is guaranteed by using a seed once
    • It is the only useful definition of reproducibility
    • It is independent of floating-point execution
    • It may fail across hardware, software versions or nondeterministic operations
  8. What should be recorded for an auditable training run?
    • Data revision, split, code, configuration, versions and checkpoint
    • Only the seed
    • 仅型号名称
    • Only the best metric