C4w2 Week-2 Assignment Details: name 'trend' is not defined

Hi there! I am encountering an issue with my assignment submission despite meeting the criteria to pass.

The error states:
Details: name ‘trend’ is not defined
(in both)

I have ensured that I followed the necessary steps, including running and rebooting the notebook; however, the problem persists.

I would appreciate your guidance on resolving this matter.

Thank you,
Dani

that def trend was already given in the assignment?? or was written by you?

1 Like

The def trend was already given.

please DM screenshot of the concerned codes. will check later and let you know

1 Like

hi @danitza.alp

the only correction would require for create model where your shape needs to a list but as you used parenthesis, it is a tuple.

Also use dense unit of 100 for the first layer

but make you clear your kernel output, reconnect and run again cell one by one from beginning till end.

Hi!
Thanks for your time.
I tried with your suggestions but the error remains…
What can I do? :frowning:

then in that case your other grade cell codes needs to be looked upon and also need to see how you did the corrections