引导式测验 · 中等 等级
套索和弹性网络回归测验
回顾 L1 和 L2 惩罚如何影响系数,为什么缩放和交叉验证很重要,以及相关预测变量如何影响选择。
问题 1 的 8
Lasso 拟合为某个特征赋予精确为零的系数。该拟合模型中这表示什么?
预览每个问题8 问题
当您参加测验时,就会出现答案和解释。
- Lasso 拟合为某个特征赋予精确为零的系数。该拟合模型中这表示什么?
- 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
- 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
- 两个高度相关的预测变量在重采样中交替被 Lasso 保留。这显示了什么?
- 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
- 为什么要在每个交叉验证训练折中学习缩放?
- 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
- 在常用的混合比例约定中,哪个端点对应纯 lasso?
- The endpoint with all L2 penalty
- The endpoint with all L1 penalty
- The endpoint with no penalty
- The setting that removes the intercept
- 数据集的预测变量以美元和极小的分数计量。为什么缩放会影响惩罚回归?
- 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
- 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
- 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