Here is the error I keep getting for UNQ_C2
NameError Traceback (most recent call last)
in
26 for i in range(m):
27 # Your code here to get prediction f_wb for the ith example
—> 28 f_wb = w * x[i] + b
29
30 # Your code here to get the gradient for w from the ith example
NameError: name ‘w’ is not defined
Not sure why this is happening? Especially since this error didn’t come up earlier in the lab when I first had to define f_wb.