I am unable to solve the implementation problem and keep getting the following error code:
NameError Traceback (most recent call last)
in
3 initial_b = 1
4
----> 5 cost = compute_cost(x_train, y_train, initial_w, initial_b)
6 print(type(cost))
7 print(f’Cost at initial w: {cost:.3f}')
NameError: name ‘x_train’ is not defined