Question: I need help, and I have no idea how to plot these things (X-y points?) Two important regularization methods are Ridge regression (L-2) and Lasso

I need help, and I have no idea how to plot these things (X-y points?)


Two important regularization methods are Ridge regression (L-2) and Lasso (L-1). We have plotted a simple linear regression with three data points using different regularization penalties. (a) Assign the following regularization methods to the plot in the figure above. Fill your answer with A, B, C or D. You must provide detailed reasonings behind your assignments. 1. No regularization Ei(vi -WIXi-wo)2 2. L-1 regularization LI(Vi-WIX; -wo)2 + 2(|wil + (wol) where a = 5 3. L-2 regularization Eil(vi - WIX; - wo)2 + 2 (wj + wa) where a = 1 4. L-2 regularization EI(vi -WIXi - wo)? + 2(wit wa) where a = 5 (b) If there are much more features in this least squares problem and we want to reduce the number of features by excluding the less relevant features, what kind of regularization method can we use? If we want to exclude more features, how would a change?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
