Solution (source code)

= Solution

The <ridge regression> estimator is the elastic net at $\alpha=0$, while the <lasso regression> estimator is the elastic net at $\alpha=1$.