引導式測驗 · 中等 等級

機器學習的可重複性:種子和決定論測驗

區分種子和完全再現性,並追蹤隨機產生器、確定性設定、資料分割、軟體版本和運行變化。

問題 1 的 8

設定隨機種子主要控制什麼?

預覽每個問題8 問題

當您參加測驗時,就會出現答案和解釋。

  1. 設定隨機種子主要控制什麼?
    • 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. 為什麼僅靠種子不足以重現實驗?
    • 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. 啟用確定性演算法可以做什麼?
    • 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. 為什麼要為資料載入器工作人員或其產生器提供種子?
    • 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. 哪些證據可以更好地估計隨機訓練的變異性?
    • 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