Skip to content
ML Academy

Classical ML, validation, metrics, interpretation, debugging · insight-0171

Do not read lasso's choice among correlated features as evidence that the others do not matter

Evidence type
documented fact
Difficulty
medium
Roles
Data scientist, Data analyst
Industries
aviation, retail

Summary: situation, action, reason, boundary

  1. Situation

    Lasso keeps one of several correlated features (competitor price, fare level, season) and zeroes the rest; someone proposes dropping them from the data.

  2. Action

    Check selection stability across resamples, consider elastic net to keep correlated groups together, and describe selected features as one of a correlated set.

  3. Reason

    With correlated predictors, lasso tends to pick one somewhat arbitrarily; the elastic-net penalty encourages a grouping effect.

  4. Boundary

    Sparse linear models used for feature screening or explanation.

Symptom or risk

The selection flips between bootstrap samples or retrains; stakeholders get contradictory stories about which driver matters.

Exceptions

For pure prediction with stable data, lasso's arbitrary pick may predict just as well.

Trade-offs

Elastic net adds a mixing hyperparameter and selects less aggressively.

Pitfalls

Running selection on all data before cross-validation, which also inflates the score.

Lessons and concepts

Claims and their sources