How does the penalty hyperparameter lambda relate to the variance of the Bayesian prior?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how the ridge or lasso penalty strength connects to the spread of a Bayesian prior on the weights. Tests the MAP derivation from a Gaussian likelihood, the limiting cases, the link between a Laplace prior and L1, and how loss conventions and feature scaling change the constant.