Consider the Ridge LRR is being used to learn prediction function ypred=wT x where w,x ∈ R2 & mean absolute error (MAE) is used to measure the prediction error. A weight of 0.20 is associated with the regularizer. At an intermediate step of training process assume that the parameter w = [-3.00,4.00]T . In the next step for the I/P x=[1.00,2.00]T , the predicted value of y is noted. Let the relation b/w x=[x1,x2] T & the true value of y be ytrue = x1+x2. The value of the overall regularized loss for instance is _____(upto 2 decimal).
Solution :
The correct answer is 7.00.
To find the overall regularized loss, we need to calculate the prediction error (using Mean Absolute Error, or MAE) and add the regularized penalty (L2 or Ridge regularization).
Step 1: Calculate the predicted value of y
The prediction function is given by:
Given the parameter vector:
and the input vector:
We compute the dot product:
Step 2: Calculate the true value of y
The relationship for the true value is:
Using the components of the input vector where and :
Step 3: Calculate the Prediction Error (MAE)
The absolute error for this instance is:
Substituting the values:
Step 4: Calculate the Regularization Term
Ridge regression utilizes L2 regularization, where the penalty is the squared L2 norm of the parameter vector:
Substituting the weights:
Step 5: Calculate the Overall Regularized Loss
The overall regularized loss is the sum of the MAE loss and the weighted regularization term:
Given the regularization weight :
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.
Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.