Given the example from a data set x1 = 3, x2 = 1, observed value y = 2 and predicted value y’ = -0.05. What will be the gradient if you are using a squared difference method?
Given the example from a data set x1 = 3, x2 = 1, observed value y = 2 and predicted value y’ = -0.05. What will be the gradient if you are using a squared difference method? Correct Answer -4.1
Given x1 = 3, x2 = 1, y = 2 and y’ = -0.05. Then Gradient = 2 (y’ – y) as we are taking the partial derivative of (y’ – y)2 with respect to y’. Gradient = 2 (y’ – y) = 2 (-0.05 – 2) = 2 * -2.05 = -4.1
মোঃ আরিফুল ইসলাম
Feb 20, 2025