I just realized that it is already imported in the first cell.
So, i got this error in my 2nd cell onwards
NameError Traceback (most recent call last)
<ipython-input-1-4a1069ac9bcc> in <module>
1 # load the dataset
----> 2 x_train, y_train = load_data()
NameError: name 'load_data' is not defined
it says that load_data is not defined. I also can’t modify both 1st and 2nd cell to try to fix it.
Notes: i already do all of the optional labs and i can modify cells in those previous labs
You can see that load_data is imported in the first cell but you didn’t run it. You have to run all the cells sequentially. Every time you open the assignment, you have to do that.
We would like to gather your feedback and insights to better understand your needs and improve our platform.
We invite you to participate in a brief survey that will help us identify areas where we can enhance the platform to better serve your needs. You can access the survey form here. It’s a short survey and will take approx. two minutes to complete. All your responses will be kept confidential.
I am glad it works. But the point is, you have to wait for the first cell to run completely and then run the second cell, and so on. Otherwise, you will face this type of error.