Kuis terkait panduan · Sedang Tingkat

Kuis Regresi Lasso dan Jaring Elastis

Tinjau bagaimana penalti L1 dan L2 memengaruhi koefisien, mengapa penskalaan dan validasi silang penting, dan bagaimana prediktor berkorelasi memengaruhi pemilihan.

Pertanyaan 1 dari 8

Pencocokan laso memberikan koefisien tepat nol pada suatu fitur. Apa yang ditunjukkan dalam model yang dipasang ini?

Pratinjau setiap pertanyaan8 pertanyaan

Jawaban dan penjelasan muncul saat Anda mengikuti kuis.

  1. Pencocokan laso memberikan koefisien tepat nol pada suatu fitur. Apa yang ditunjukkan dalam model yang dipasang ini?
    • The feature is excluded from its linear prediction
    • The feature has no association in every reasonable model
    • The feature was removed during data preprocessing
    • The feature has no variation in the source population
  2. Which penalty combination defines elastic net in the guide?
    • L1 penalty with alpha denoting only the L1 share
    • L1 plus L2
    • L1 penalty only, with no L2 component
    • L2 penalty with L1 used only during feature scaling
  3. Dua prediktor yang sangat berkorelasi bergantian sebagai prediktor yang dipertahankan oleh laso di seluruh sampel. Apa yang ditunjukkan hal ini?
    • Standardization guarantees stable selection whenever predictors are correlated
    • Any change in selected features proves the test set leaked into cross-validation
    • Their selection can be unstable despite similar predictions
    • Lasso is guaranteed to assign identical coefficients across resamples
  4. Mengapa penskalaan harus dipelajari dalam setiap pelatihan validasi silang?
    • Fit the scaler once on all rows, then split for cross-validation
    • Fit scaling parameters on validation rows only
    • Scale after selecting the final penalty using test data
    • To keep validation-fold information out of preprocessing
  5. Dalam konvensi rasio pencampuran yang umum, titik akhir manakah yang berhubungan dengan laso murni?
    • The endpoint with all L2 penalty
    • The endpoint with all L1 penalty
    • The endpoint with no penalty
    • The setting that removes the intercept
  6. Kumpulan data memiliki prediktor yang diukur dalam dolar dan pecahan kecil. Mengapa penskalaan penting untuk regresi yang dikenakan sanksi?
    • Feature scaling cannot affect penalty behavior when units change
    • Rescaling the target is the only preprocessing relevant to coefficients
    • The penalty acts on coefficient magnitudes, which depend on feature units
    • Scaling after fitting leaves the selected coefficients unchanged
  7. When should a final test set be used if penalty settings are chosen by cross-validation?
    • Only if training error is zero
    • Repeatedly to choose each penalty value
    • Before fitting the preprocessing pipeline
    • After model selection, for a final evaluation
  8. Which statement about a zero lasso coefficient is appropriately cautious?
    • It is a result of this penalized fit, not universal proof of no relationship
    • It proves this predictor has no causal effect
    • It will remain zero across populations and penalty settings
    • It establishes that no nonlinear relationship exists