Skip to content
Quantoros

Is SGD's intercept penalized by the same L1 or L2 term as its feature coefficients?

Classic MLLevel: AdvancedIntercept regularization

Is SGD's intercept penalized by the same L1 or L2 term as its feature coefficients?

Hints
  • Inspect which parameters occur in the penalty.
  • The update rule distinguishes the intercept.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: scikit-learn 1.7.2 — sgd · BSD-3-Clause · answer: Quantoros editorial

Related questions