Please check the lecture notes on Lasso estimator, Ridge Estimator as well as Elastic Net estimator. Lasso print