232 views
0 0 votes

Assuming that in the constrained version of ridge regression optimization problem, following are the weight vectors to be considered, along with the mean squared error (MSE) produced by each:

$$
\begin{aligned}
& w_1=[2,2,3,1], \text { MSE }=3 \\
& w_2=[1,1,3,1], \text { MSE }=5 \\
& w_3=[3,2,4,1], \text { MSE }=8 \\
& w_4=[1,2,1,1], \text { MSE }=9
\end{aligned}
$$


If the value of $\theta$ is 13 , which of the following weight vectors will be selected as the final weight vector by ridge regression?

Note: $\|w\|^2 \leq \theta$

  1. W1
     
  2. W2
     
  3. W3
     
  4. W4

1 Answer

0 0 votes
We need to minimize MSE such that $\|w\|^2 \leq \theta$

$$
\begin{aligned}
& \left\|w_1\right\|^2=18,\left\|w_2\right\|^2=12,\left\|w_3\right\|^2=30,\left\|w_4\right\|^2=7 \\
& \|w\|^2 \leq 13 \text { for } w_2 \text { and } w_4
\end{aligned}
$$

However, the MSE for $w_2$ is lesser than $w_4$.

Hence, $w_2$ will be chosen.
Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
319
319 views
GO Classes asked Sep 29, 2025
319 views
Assume that for a certain linear regression problem involving $4$ features, the following weight vectors produce an equal amount of mean square error:$$\begin{aligned}& w...
0 0 votes
1 1 answer
266
266 views
GO Classes asked Sep 29, 2025
266 views
For a data set with $1000$ data points and $50$ features, assume that you keep $80\%$ of the data for training and the remaining $20\%$ of the data for validation during ...
0 0 votes
1 1 answer
248
248 views
GO Classes asked Sep 29, 2025
248 views
For a data set with $1000$ data points and $50$ features, $10$ -fold cross-validation will perform validation of how many models?$10$ $50$ $1000$ $500$
2 2 votes
1 1 answer
260
260 views
GO Classes asked Sep 29, 2025
260 views
Consider the following piece-wise function as shown in the image:$$y(x)= \begin{cases}x^2 & x \leq 0 \\ 2 x & 0 \leq x \leq 2 \\ 4 x-4 & 2 \leq x\end{cases}$$How many sub...