StackedML
Practice
Labs
Questions
Models
Pricing
Sign in
Questions
/
Math Foundations
/
Calculus
/
Gradients
← Previous
Next →
342.
Gradient of MSE Loss
medium
The gradient of the MSE loss L = (1/n)Σ(yᵢ - wᵀxᵢ)² with respect to w is what?
A
(2/n)Σ(yᵢ)xᵢ, the average target value times each input vector
B
-(2/n)Σ(yᵢ - wᵀxᵢ), the average residual without weighting by the input
C
(2/n)Σ(wᵀxᵢ)xᵢ, the average predicted value times each input vector
D
-(2/n)Σ(yᵢ - wᵀxᵢ)xᵢ, the average residual times each input vector
Sign in to verify your answer
← Back to Questions