NameError: name 'compute_cost_test_case' is not defined

I am getting the following error for exercise 5. Not sure how to fix…


NameError Traceback (most recent call last)
in
----> 1 A2, t_Y = compute_cost_test_case()
2 cost = compute_cost(A2, t_Y)
3 print("cost = " + str(compute_cost(A2, t_Y)))
4
5 compute_cost_test(compute_cost)

NameError: name ‘compute_cost_test_case’ is not defined

1 Like

nevermind, it was because my session was interrupted. I reran all previous cells and now it works. Sorry