C1 W3 Excercise 4

Hello, In the exercise 4, I pass the test but when doing the accuracy step, I got NameError: name ‘w’ is not defined Appreciate your help

Run all the above cells.

Hi Manuel. Did you get this issue resolved? If not, just to expand a bit on saifkhanengr’s response, there is a possibility that you kept the lab window open for too long and your active session was disconnected. This results in all the code executed to be taking out of local memory. As he advises, just re-run all the code up to the point you are at so that all the objects/variables are loaded for the current and later code segments you will execute.