GATE DA 2025 Q34: Least squares through the origin: fit y = wx
- Machine Learning
- 1 mark
- NAT
- No negative marking
Question
Given data of the form , we fit a model using linear least-squares regression. The optimal value of is ____ (Round off to three decimal places)
Try it: numerical answer: type the value
Numerical answer. No negative marking.
Show answer and explanation
Answer: 0.285 to 0.287 (official GATE 2025 final answer key)
Concept used: Least squares for a line through the origin: .
First step: Minimise by setting its derivative to zero, giving . Compute .
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2025 DA question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key
More Machine Learning PYQs
- 2025 · Q22Perceptron update on a misclassified positive sample
- 2025 · Q30Single vs complete linkage dissimilarity
- 2025 · Q35Naive Bayes: probability of misclassifying x
- 2025 · Q42Backpropagation through a small ReLU network
- 2025 · Q48Properties of the ReLU activation function
- 2025 · Q53Hard-margin SVM on four points in ℝ²