Kuiz berkaitan panduan · Keras Tahap

Kuiz Pengesahan Silang Bersarang

Semak peranan lipatan dalam dan luar, prapemprosesan kebocoran dan pengiraan kiraan muat dalam aliran kerja pengesahan silang bersarang praktikal.

Laluan panduan yang berkaitanPengesahan Silang Bersarang
soalan 1 daripada 8

Dalam satu belahan luar, data manakah yang boleh digunakan oleh carian hiperparameter dalam?

Pratonton setiap soalan8 soalan

Jawapan dan penjelasan muncul semasa anda mengambil kuiz.

  1. Dalam satu belahan luar, data manakah yang boleh digunakan oleh carian hiperparameter dalam?
    • All examples, including the outer test fold
    • Only the outer training data
    • Only the outer test labels
    • The full dataset after fitting preprocessing globally
  2. Mengapakah melaporkan skor pengesahan dalaman yang terbaik boleh melebihkan prestasi model?
    • Inner cross-validation evaluates every candidate on its own training rows
    • Averaging across folds removes all uncertainty from candidate rankings
    • The best inner score already includes an independent outer evaluation
    • Choosing the best setting also selects favorable variation in validation scores
  3. Lima lipatan luar, tiga lipatan dalam dan sepuluh tetapan calon memerlukan berapa banyak calon dalam yang sesuai dengan contoh panduan?
    • 150
    • 18
    • 50
    • 30
  4. Penskala dipasang pada set data penuh sebelum pengesahan silang bersarang bermula. Masalah manakah yang kekal?
    • Using more outer folds automatically removes preprocessing leakage
    • Unsupervised preprocessing cannot use information relevant to evaluation
    • Preprocessing has already accessed held-out information
    • A scaler can safely see test inputs whenever it does not see test labels
  5. Lipatan luar yang berbeza memilih hiperparameter yang berbeza. Bagaimanakah ini harus ditafsirkan?
    • It proves the cross-validation code is broken
    • It can occur because each selection step sees different training data
    • It means only the highest-scoring outer model is valid
    • It requires replacing outer evaluation with training accuracy
  6. A dataset contains many rows per customer, and deployment targets unseen customers. Which design addresses that dependence?
    • Shuffle all rows separately in the outer loop only
    • Group customers only after evaluation is complete
    • Fit the feature selector globally before splitting
    • Keep customer groups separated in both inner and outer splits
  7. After evaluating a fixed nested procedure, how does the guide recommend obtaining a final model?
    • Run the selection procedure on development data and fit the chosen configuration
    • Deploy the outer-fold model with the highest observed test score
    • Choose the configuration from the single best inner-fold result
    • Choose final settings by comparing candidates on the reserved test set
  8. Why is the spread of outer-fold scores not automatically a confidence interval?
    • Each outer score is an independent measurement from an unrelated training set
    • The raw standard deviation of fold scores is itself a confidence interval
    • The fitted models share much of their training data
    • Averaging fold scores removes all sampling uncertainty