Should be no theta in gradient formula with MSE cost function

Should be no theta in gradient formula with MSE cost function

por Oleksandr Tarasov -
Número de respostas: 1

Hi guys,

in the second notebook in the second code cell, in the function 'compute_cost' there is a comment on how to calculate the gradient, but instead of a 'learning_rate' param the 'theta' param is used there:

# compute gradient of cost function: Δθ = (2*theta/n) * X.T * errors

Could you please check and edit it?