HELP - AssertionError First required coding assignment

Hello everyone!
im working on the first assignment and i suspect i have some bug that im not able to find.

When working on the ‘model’ function, I wrote the following code:

{Moderator Edit: Solution Code Removed}

(Important to say that so far all of my tests were successful)

And when I test this function I get an error saying:
“Wrong values for d[‘w’].”

And it looks like only one of the values is not matching as it should:

[[ 0.14449502]
[-0.1429235 ]
[ 0.21265053]] != [[ 0.08639757]
[ 0.12866053]]

Can please some one help?

Thank you!

Please note that sharing your code is not allowed by the community code of conduct. So, only share your full error (not code).

Regarding the issue, you are not passing the number of iterations and learning rate into the optimize function inside the model function. You have to specify these but do not hard-code them.


First, sorry didnt know that.

Second, very helpful, thanks!