Hello,
I am kinda sure of my answer for the cost function but the test tells me my answer is wrong, can you help me figure out where did i make a mistake ?
{moderator edit: code removed}
Hello,
I am kinda sure of my answer for the cost function but the test tells me my answer is wrong, can you help me figure out where did i make a mistake ?
{moderator edit: code removed}
Please do not post your code on the forum. That’s not allowed by the Code of Conduct.
Hint:
The compute_cost() function uses the variables ‘x’ and ‘y’, not ‘x_train’ and ‘y_train’.
thank you ! i will delete the code