Week 2 , assignent 1, Exercise 8

hi, i have this kind of error in exercise 8, while all the tests of the exercises before passed.

if i run the training on the data i get this result

what am I doing wrong ?

The most likely error is hard-coding some of the parameters (e.g. learning rate or number of iterations) when you call optimize from model. You should just pass through the values that were passed in to model at the top level.

In other words, if there are any equal signs in any of your parameter expressions on your call to optimize, that is a mistake. The key point is that calling (invoking) a function is a completely different thing than defining a function, right? You can’t just “copy/paste” the definition of the function as a call to the function.