Can't get expected output

Would appreciate any help - first 2 cells are fine but can’t get what the problem is at the end

Please check the text description above the exercise for the loss formula and make sure nothing is missing out.

Thanks! Keep messing up on small mistakes :man_facepalming:

No worries. I am removing your assignment code because it is the right way to keep it to yourself. And I am closing this thread. Open a new one when you have a new question.

1 Like

The compute_cost() function should use X, not X_train.

1 Like